summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2019-01-29 17:08:49 -0800
committerGitHub <noreply@github.com>2019-01-29 17:08:49 -0800
commitbeeb6936167bc9d9392d9f86f129b8a1c228ff44 (patch)
tree9b4e421bf1b2b6c5c35bb11d1693ece418d605fc /src/CMakeLists.txt
parent0c0f696fd2ae0e3d801bb0b534f9f20bcacc86b2 (diff)
parentb554d1296888f567c3a661cbd6de2a57457528d1 (diff)
downloadfork-ledger-beeb6936167bc9d9392d9f86f129b8a1c228ff44.tar.gz
fork-ledger-beeb6936167bc9d9392d9f86f129b8a1c228ff44.tar.bz2
fork-ledger-beeb6936167bc9d9392d9f86f129b8a1c228ff44.zip
Merge pull request #1755 from scfc/add-travis-ci-setup-for-macos
Add Travis CI setup for macOS and homebrew-installed Boost
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 06acecf2..9b39ea94 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -267,7 +267,9 @@ else()
endmacro(ADD_PCH_RULE _header_filename _src_list _other_srcs)
endif()
-add_pch_rule(${PROJECT_BINARY_DIR}/system.hh LEDGER_SOURCES LEDGER_CLI_SOURCES)
+if(PRECOMPILE_SYSTEM_HH)
+ add_pch_rule(${PROJECT_BINARY_DIR}/system.hh LEDGER_SOURCES LEDGER_CLI_SOURCES)
+endif()
include(GNUInstallDirs)