mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-13 18:00:09 -06:00
Now that `Ninja` generators will know to generate rules for `IMPORTED` targets, mark these as `INTERFACE` to avoid requirements of actual artifacts.
9 lines
235 B
CMake
9 lines
235 B
CMake
add_library(module-header INTERFACE IMPORTED)
|
|
target_sources(module-header
|
|
INTERFACE
|
|
FILE_SET fs TYPE CXX_MODULE_HEADER_UNITS FILES
|
|
sources/module-header.h)
|
|
target_compile_features(module-header
|
|
INTERFACE
|
|
cxx_std_20)
|