diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-28 22:56:17 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-28 23:02:51 (GMT) |
commit | 12e4bc73cba0218a3e9a9a23d43f7b3d7d8e004e (patch) | |
tree | a0079ce6dbd57a1d0b64e0376e41b81d9d06fd31 /Modules/Compiler/MSVC-CXX.cmake | |
parent | 90907c8ff96ff07f0dafc1f4904d25b1e10f014b (diff) | |
download | CMake-12e4bc73cba0218a3e9a9a23d43f7b3d7d8e004e.zip CMake-12e4bc73cba0218a3e9a9a23d43f7b3d7d8e004e.tar.gz CMake-12e4bc73cba0218a3e9a9a23d43f7b3d7d8e004e.tar.bz2 |
MSVC: don't opt into dyndep support
Instead, just set the variables for how scanning works since that is
part of the compiler mechanisms.
Fixes: #24198
Diffstat (limited to 'Modules/Compiler/MSVC-CXX.cmake')
-rw-r--r-- | Modules/Compiler/MSVC-CXX.cmake | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/Compiler/MSVC-CXX.cmake b/Modules/Compiler/MSVC-CXX.cmake index 212f6d1..10a9073 100644 --- a/Modules/Compiler/MSVC-CXX.cmake +++ b/Modules/Compiler/MSVC-CXX.cmake @@ -79,7 +79,6 @@ elseif (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 16.0) endif() if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "19.34") - set(CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP 1) string(CONCAT CMAKE_EXPERIMENTAL_CXX_SCANDEP_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <INCLUDES> <FLAGS> <SOURCE> -nologo -TP" " -showIncludes" |