summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/CXXModules/NoCXX20ModuleFlag.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CXXModules/NoCXX20ModuleFlag.cmake')
-rw-r--r--Tests/RunCMake/CXXModules/NoCXX20ModuleFlag.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/CXXModules/NoCXX20ModuleFlag.cmake b/Tests/RunCMake/CXXModules/NoCXX20ModuleFlag.cmake
index 5f896f90d6..79892eed34 100644
--- a/Tests/RunCMake/CXXModules/NoCXX20ModuleFlag.cmake
+++ b/Tests/RunCMake/CXXModules/NoCXX20ModuleFlag.cmake
@@ -1,5 +1,7 @@
enable_language(CXX)
+unset(CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP)
+
add_library(noexperimentalflag)
target_sources(noexperimentalflag
PUBLIC