We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60f7753 + 0611afe commit e317fc8Copy full SHA for e317fc8
CMakeLists.txt
@@ -76,5 +76,9 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
76
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/libzmq-pkg-config/FindZeroMQ.cmake
77
DESTINATION ${CPPZMQ_CMAKECONFIG_INSTALL_DIR}/libzmq-pkg-config)
78
79
-enable_testing()
80
-add_subdirectory(tests)
+option(CPPZMQ_BUILD_TESTS "Whether or not to build the tests" ON)
+
81
+if (CPPZMQ_BUILD_TESTS)
82
+ enable_testing()
83
+ add_subdirectory(tests)
84
+endif()
0 commit comments