diff options
-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 c78d423..e6887ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ set(CMAKE_C_FLAGS "-Weverything -fstack-protector-all -fPIE ${CMAKE_C_FLAGS}") set(CMAKE_EXE_LINKER_FLAGS "-Wl,-z,relro -Wl,-z,now -pie ${CMAKE_EXE_LINKER_FLAG}") set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) -add_subdirectory("src") - set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") + +add_subdirectory("src") add_subdirectory("doc") diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index bf45df2..d0d1597 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -5,8 +5,8 @@ add_custom_target(man ALL -q -b man -Dversion="${PACKAGE_VERSION}" "${CMAKE_CURRENT_SOURCE_DIR}" - "${CMAKE_CURRENT_SOURCE_DIR}" + "${CMAKE_CURRENT_BINARY_DIR}" COMMENT "Building man page with Sphinx" ) -INSTALL(FILES "yawa.1" DESTINATION "share/man/man1") +INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/yawa.1" DESTINATION "share/man/man1") |