summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-23 12:10:46 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-11-23 12:10:52 (GMT)
commitc924d33bec26c88fa120396192992cfc3b959039 (patch)
treedeb097a5a894d2c60ae0951aa9641e91d278c472 /Tests/RunCMake
parent22fdf42e92785b7a154e59e0ef2e9bf829461061 (diff)
parentc53748cc09677fc8545251598d364c44240c846f (diff)
downloadCMake-c924d33bec26c88fa120396192992cfc3b959039.zip
CMake-c924d33bec26c88fa120396192992cfc3b959039.tar.gz
CMake-c924d33bec26c88fa120396192992cfc3b959039.tar.bz2
Merge topic 'cxxmodule-module-support-tweaks'
c53748cc09 Tests/RunCMake/CXXModules: mark IMPORTED targets as INTERFACE a971fcfde7 cmNinjaNormalTargetGenerator: use `cmStrCat` b7509d6bf8 cmNinjaNormalTargetGenerator: fix grammar in verbose comment 0015cb95de cmGlobalNinjaGenerator: fix comment typo Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7943
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r--Tests/RunCMake/CXXModules/FileSetModuleHeaderUnitsInterfaceImported.cmake2
-rw-r--r--Tests/RunCMake/CXXModules/FileSetModulesInterfaceImported.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/CXXModules/FileSetModuleHeaderUnitsInterfaceImported.cmake b/Tests/RunCMake/CXXModules/FileSetModuleHeaderUnitsInterfaceImported.cmake
index 9ff5606..d287198 100644
--- a/Tests/RunCMake/CXXModules/FileSetModuleHeaderUnitsInterfaceImported.cmake
+++ b/Tests/RunCMake/CXXModules/FileSetModuleHeaderUnitsInterfaceImported.cmake
@@ -1,4 +1,4 @@
-add_library(module-header SHARED IMPORTED)
+add_library(module-header INTERFACE IMPORTED)
target_sources(module-header
INTERFACE
FILE_SET fs TYPE CXX_MODULE_HEADER_UNITS FILES
diff --git a/Tests/RunCMake/CXXModules/FileSetModulesInterfaceImported.cmake b/Tests/RunCMake/CXXModules/FileSetModulesInterfaceImported.cmake
index 6640ae9..392149f 100644
--- a/Tests/RunCMake/CXXModules/FileSetModulesInterfaceImported.cmake
+++ b/Tests/RunCMake/CXXModules/FileSetModulesInterfaceImported.cmake
@@ -1,4 +1,4 @@
-add_library(module SHARED IMPORTED)
+add_library(module INTERFACE IMPORTED)
target_sources(module
INTERFACE
FILE_SET fs TYPE CXX_MODULES FILES