mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 22:41:26 +08:00
15 lines
411 B
Diff
15 lines
411 B
Diff
|
diff --git a/cmake/IgnConfigureBuild.cmake b/cmake/IgnConfigureBuild.cmake
|
||
|
--- a/cmake/IgnConfigureBuild.cmake
|
||
|
+++ b/cmake/IgnConfigureBuild.cmake
|
||
|
@@ -109,7 +109,9 @@
|
||
|
# Add all the source code directories
|
||
|
add_subdirectory(src)
|
||
|
add_subdirectory(include)
|
||
|
- add_subdirectory(test)
|
||
|
+ if(BUILD_TESTING)
|
||
|
+ add_subdirectory(test)
|
||
|
+ endif()
|
||
|
|
||
|
|
||
|
#--------------------------------------
|