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.
1 parent f5cb3fa commit 26f4bc0Copy full SHA for 26f4bc0
1 file changed
build/cmake/CMakeLists.txt
@@ -25,4 +25,8 @@ myci_declare_library(${name}
25
../../src/${name}
26
)
27
28
-include(unit_tests.cmake)
+# if the library is compiled by vcpkg during the library package installation,
29
+# then we don't need to build unit tests
30
+if(NOT DEFINED VCPKG_INSTALL_PREFIX)
31
+ include(unit_tests.cmake)
32
+endif()
0 commit comments