summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2015-01-11 13:54:08 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2015-01-20 10:12:25 +0100
commit80022bf04affc360058aab1422d3ad59577d896e (patch)
tree77b754acc47b952b90a3b1b958b3f2da9a0db91a /src/CMakeLists.txt
parent6547448676ee51c390086e49da32f6cb636b74f9 (diff)
downloadfork-ledger-80022bf04affc360058aab1422d3ad59577d896e.tar.gz
fork-ledger-80022bf04affc360058aab1422d3ad59577d896e.tar.bz2
fork-ledger-80022bf04affc360058aab1422d3ad59577d896e.zip
[cmake] Minor cleanup
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7b10061f..dc8b60fc 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,3 +1,7 @@
+set(LEDGER_CLI_SOURCES
+ global.cc
+ main.cc)
+
set(LEDGER_SOURCES
stats.cc
generate.cc
@@ -255,7 +259,7 @@ else()
endmacro(ADD_PCH_RULE _header_filename _src_list _other_srcs)
endif()
-add_pch_rule(${PROJECT_BINARY_DIR}/system.hh LEDGER_SOURCES main.cc global.cc)
+add_pch_rule(${PROJECT_BINARY_DIR}/system.hh LEDGER_SOURCES LEDGER_CLI_SOURCES)
include(GNUInstallDirs)