enable_language(CXX) add_library(empty empty.cpp) target_compile_definitions(empty PRIVATE $<$:SOME_DEFINE> )