diff --git a/CMakeLists.txt b/CMakeLists.txt index 36e9bd555f..3d5d3909ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -222,6 +222,8 @@ endif() add_subdirectory(cmake/dependencies dependencies) list(APPEND CMAKE_PREFIX_PATH ${CMAKE_CURRENT_BINARY_DIR}/dependencies/install) +# Disable CTest targets +set_property(GLOBAL PROPERTY CTEST_TARGETS_ADDED 1) include(CTest) # Basic type