diff --git "a/CMakeLists.txt" "b/CMakeLists.txt" index c041df0..2feb580 100644 --- "a/CMakeLists.txt" +++ "b/CMakeLists.txt" @@ -94,7 +94,10 @@ SET(CPACK_PACKAGE_VERSION_MINOR ${PAHO_VERSION_MINOR}) SET(CPACK_PACKAGE_VERSION_PATCH ${PAHO_VERSION_PATCH}) INCLUDE(CPack) +if(BUILD_TESTS) ENABLE_TESTING() INCLUDE_DIRECTORIES(test src) ADD_SUBDIRECTORY(test) + +endif() \ No newline at end of file