Don't add psemek to ALL

This commit is contained in:
Nikita Lisitsa 2020-09-19 12:07:03 +03:00
parent ae282d796c
commit b51e509562
2 changed files with 2 additions and 1 deletions

View file

@ -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)

View file

@ -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)