mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
Tests/RunCMake/CXXModules: mark IMPORTED targets as INTERFACE
Now that `Ninja` generators will know to generate rules for `IMPORTED` targets, mark these as `INTERFACE` to avoid requirements of actual artifacts.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user