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.
BUILD_TESTING
1 parent 94a9f59 commit f2bd138Copy full SHA for f2bd138
CMakeLists.txt
@@ -13,7 +13,7 @@ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
13
set(LIBUV_VERSION v1.44.2)
14
15
include(CMakeDependentOption)
16
-cmake_dependent_option(UVWASI_BUILD_TESTS
+cmake_dependent_option(BUILD_TESTING
17
"Build the unit tests when uvwasi is the root project" ON
18
"CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR" OFF)
19
@@ -122,7 +122,7 @@ endif()
122
123
124
## Test targets.
125
-if(UVWASI_BUILD_TESTS)
+if(BUILD_TESTING)
126
enable_testing()
127
file(GLOB test_files "test/test-*.c")
128
foreach(file ${test_files})
0 commit comments