summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
-rw-r--r--doc/CMakeLists.txt4
2 files changed, 4 insertions, 4 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()
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index d8242eeb..bb129415 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -126,8 +126,8 @@ endif(CMAKE_INSTALL_MANDIR)
foreach(file ${ledger_doc_files})
get_filename_component(file_ext ${file} EXT)
- if(file_ext STREQUAL ".info")
- if(CMAKE_INSTALL_INFODIR)
+ if (file_ext STREQUAL ".info")
+ if (CMAKE_INSTALL_INFODIR)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${file}
DESTINATION ${CMAKE_INSTALL_INFODIR} COMPONENT doc)
endif()