summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2022-07-04 22:31:53 +0200
committerMartin Michlmayr <tbm@cyrius.com>2023-02-01 09:20:16 +0800
commitb282e9a2ec0dadfe29a6b78a75b5a80e2d0639c2 (patch)
tree09d8ea8587995370b6a72c4ace3b45ee819b4a0b /CMakeLists.txt
parent852d35fdbbe1c990dad43d467a54bed6ee726944 (diff)
downloadfork-ledger-b282e9a2ec0dadfe29a6b78a75b5a80e2d0639c2.tar.gz
fork-ledger-b282e9a2ec0dadfe29a6b78a75b5a80e2d0639c2.tar.bz2
fork-ledger-b282e9a2ec0dadfe29a6b78a75b5a80e2d0639c2.zip
Minor cosmetic changes
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 63e5efa1..38a9c804 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -278,7 +278,7 @@ macro(add_ledger_library_dependencies _target)
target_link_libraries(${_target} Gpgmepp)
endif()
if (HAVE_BOOST_PYTHON)
- if(CMAKE_SYSTEM_NAME STREQUAL Darwin)
+ if (CMAKE_SYSTEM_NAME STREQUAL Darwin)
# Don't link directly to a Python framework on macOS, to avoid segfaults
# when the module is imported from a different interpreter
target_link_libraries(${_target} ${Boost_LIBRARIES})
@@ -317,7 +317,7 @@ configure_file(
${PROJECT_SOURCE_DIR}/src/system.hh.in
${PROJECT_BINARY_DIR}/system.hh)
-if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-isystem ")
endif()