From 93ed9321430d388a9966773fbf580eff03299518 Mon Sep 17 00:00:00 2001
From: redfish <redfish@galactica.pw>
Date: Wed, 27 Sep 2017 00:57:02 -0400
Subject: [PATCH] cmake: add libversion and libcheckpoints to libwallet_merged

Needed to link monero-core Qt wallet.
---
 src/wallet/CMakeLists.txt | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/wallet/CMakeLists.txt b/src/wallet/CMakeLists.txt
index fe87d0de1..b62c084be 100644
--- a/src/wallet/CMakeLists.txt
+++ b/src/wallet/CMakeLists.txt
@@ -125,7 +125,16 @@ endif()
 
 # build and install libwallet_merged only if we building for GUI
 if (BUILD_GUI_DEPS)
-    set(libs_to_merge wallet cryptonote_core cryptonote_basic mnemonics common cncrypto ringct)
+    set(libs_to_merge
+            wallet
+            cryptonote_core
+            cryptonote_basic
+            mnemonics
+            common
+            cncrypto
+            ringct
+            checkpoints
+            version)
 
     foreach(lib ${libs_to_merge})
         list(APPEND objlibs $<TARGET_OBJECTS:obj_${lib}>) # matches naming convention in src/CMakeLists.txt