diff --git a/CMakeLists.txt b/CMakeLists.txt index ff1b5340..49238668 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,7 @@ add_subdirectory(package) add_subdirectory(tools) add_subdirectory(libs) -add_library(psemek todo.md) +add_library(psemek EXCLUDE_FROM_ALL todo.md) target_link_libraries(psemek INTERFACE ${PSEMEK_LIBRARIES}) set_target_properties(psemek PROPERTIES LINKER_LANGUAGE CXX) diff --git a/libs/CMakeLists.txt b/libs/CMakeLists.txt index cfdf65e0..3963cba9 100644 --- a/libs/CMakeLists.txt +++ b/libs/CMakeLists.txt @@ -5,6 +5,7 @@ foreach(lib ${PSEMEK_LIBRARIES}) add_subdirectory(${lib}) target_compile_definitions(${lib} PUBLIC ${PSEMEK_DEFINITIONS}) target_compile_options(${lib} PUBLIC ${PSEMEK_CXX_FLAGS}) + set_target_properties(${lib} PROPERTIES EXCLUDE_FROM_ALL TRUE) endforeach() set(PSEMEK_LIBRARIES ${PSEMEK_LIBRARIES} PARENT_SCOPE)