We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3680678 + 7a0884f commit 9084dd5Copy full SHA for 9084dd5
CMakeLists.txt
@@ -91,8 +91,9 @@ rapids_cmake_build_type(Release)
91
92
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules")
93
94
-# Disable the tests by default unless it is the top level project and build testing was specified.
95
-if (STDEXEC_MAIN_PROJECT AND BUILD_TESTING)
+# Disable the tests by default unless it is the top level project or build testing was
+# specified.
96
+if (STDEXEC_MAIN_PROJECT OR BUILD_TESTING)
97
set(STDEXEC_BUILD_TESTS_DEFAULT ON)
98
else()
99
set(STDEXEC_BUILD_TESTS_DEFAULT OFF)
0 commit comments