diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-05-31 16:10:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-06-01 18:43:26 (GMT) |
commit | 0183e1bca379199949210217869c3a214702eba1 (patch) | |
tree | 29f8da1c03adf0fcf3470abd427b1ed3e893a4c2 /Source/cmGeneratorTarget.cxx | |
parent | 9a63aa8d57394fbddf913ce35c2d32bbf523f0e6 (diff) | |
download | CMake-0183e1bca379199949210217869c3a214702eba1.zip CMake-0183e1bca379199949210217869c3a214702eba1.tar.gz CMake-0183e1bca379199949210217869c3a214702eba1.tar.bz2 |
cxxmodules: remove `CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP` variable
It is now subsumed by the UUID setting completely.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 5c2e238..3cefeda 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -28,6 +28,7 @@ #include "cmComputeLinkInformation.h" #include "cmCustomCommandGenerator.h" #include "cmEvaluatedTargetProperty.h" +#include "cmExperimental.h" #include "cmFileSet.h" #include "cmFileTimes.h" #include "cmGeneratedFileStream.h" @@ -8907,7 +8908,8 @@ cmGeneratorTarget::Cxx20SupportLevel cmGeneratorTarget::HaveCxxModuleSupport( // Else, an empty CMAKE_CXX_STANDARD_DEFAULT means CMake does not detect and // set a default standard level for this compiler, so assume all standards // are available. - if (!this->Makefile->IsOn("CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP")) { + if (!cmExperimental::HasSupportEnabled( + *this->Makefile, cmExperimental::Feature::CxxModuleCMakeApi)) { return Cxx20SupportLevel::MissingExperimentalFlag; } return Cxx20SupportLevel::Supported; |