diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2022-07-04 22:31:53 +0200 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2023-02-01 09:20:16 +0800 |
commit | b282e9a2ec0dadfe29a6b78a75b5a80e2d0639c2 (patch) | |
tree | 09d8ea8587995370b6a72c4ace3b45ee819b4a0b | |
parent | 852d35fdbbe1c990dad43d467a54bed6ee726944 (diff) | |
download | fork-ledger-b282e9a2ec0dadfe29a6b78a75b5a80e2d0639c2.tar.gz fork-ledger-b282e9a2ec0dadfe29a6b78a75b5a80e2d0639c2.tar.bz2 fork-ledger-b282e9a2ec0dadfe29a6b78a75b5a80e2d0639c2.zip |
Minor cosmetic changes
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | doc/CMakeLists.txt | 4 |
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() |