diff --git a/CMakeLists.txt b/CMakeLists.txt index 2725b8bf..0374bd2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,4 +17,8 @@ add_library(psemek todo.md) target_link_libraries(psemek INTERFACE ${PSEMEK_LIBRARIES}) set_target_properties(psemek PROPERTIES LINKER_LANGUAGE CXX) -add_subdirectory(examples) +option(PSEMEK_EXAMPLES "Build example apps" OFF) + +if(PSEMEK_EXAMPLES) + add_subdirectory(examples) +endif()