mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 13:21:37 +08:00
17 lines
405 B
Diff
17 lines
405 B
Diff
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
|