mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-17 01:15:59 +01:00
cmake improvements: test and samples are from now disabled by default, you can enable this option with cmdline option to cmake: '-DENABLE_TESTS=1'
minimum required CMAKE version is 2.6 from now
This commit is contained in:
@@ -19,4 +19,6 @@ set_target_properties( ${LIBNAMED}
|
||||
SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH})
|
||||
target_link_libraries( ${LIBNAMED} )
|
||||
|
||||
add_subdirectory(samples)
|
||||
if (ENABLE_TESTS)
|
||||
add_subdirectory(samples)
|
||||
endif ()
|
||||
Reference in New Issue
Block a user