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

6 lines
104 B
CMake

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