CMake/Tests/RunCMake/GeneratorExpression/COMPILE_LANGUAGE-target_sou...

6 lines
104 B
CMake
Raw Normal View History

enable_language(C)
add_library(empty empty.c)
target_sources(empty PRIVATE empty.$<COMPILE_LANGUAGE>)