summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2015-01-21 22:03:11 -0700
committerCraig Earls <enderw88@gmail.com>2015-01-21 22:03:11 -0700
commit28b0d6756785b5d36ae73c4614a9295d9697041a (patch)
tree20257fd9d99acc7a9d55a655e078a95a12f6e577 /src/CMakeLists.txt
parenta65033b66cc084ca0c40538a9aa0e243cc32ab8c (diff)
parentbec52e3221d74ce3bf1383b245beae5a6214e387 (diff)
downloadfork-ledger-28b0d6756785b5d36ae73c4614a9295d9697041a.tar.gz
fork-ledger-28b0d6756785b5d36ae73c4614a9295d9697041a.tar.bz2
fork-ledger-28b0d6756785b5d36ae73c4614a9295d9697041a.zip
Merge commit 'bec52e3221d74ce3bf1383b245beae5a6214e387' into next
Conflicts: lisp/ledger-reconcile.el
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)