mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 13:50:10 -05:00
461efa7b51
This MR may help to solve issues #19757 and #18008 Fixes: #19965
5 lines
115 B
CMake
5 lines
115 B
CMake
|
|
enable_language(C)
|
|
add_executable(empty empty.c)
|
|
target_compile_options(empty PRIVATE $<$<LINK_LANGUAGE:C>:-OPT>)
|