Build examples by default

This commit is contained in:
Nikita Lisitsa 2021-01-18 20:04:57 +03:00
parent c37fc1f614
commit b73ceb35d2

View file

@ -44,7 +44,7 @@ psemek_add_library(psemek EXCLUDE_FROM_ALL todo.md)
target_link_libraries(psemek INTERFACE ${PSEMEK_LIBRARIES}) target_link_libraries(psemek INTERFACE ${PSEMEK_LIBRARIES})
set_target_properties(psemek PROPERTIES LINKER_LANGUAGE CXX) set_target_properties(psemek PROPERTIES LINKER_LANGUAGE CXX)
option(PSEMEK_EXAMPLES "Build example apps" OFF) option(PSEMEK_EXAMPLES "Build example apps" ON)
if(PSEMEK_EXAMPLES) if(PSEMEK_EXAMPLES)
add_subdirectory(examples) add_subdirectory(examples)