mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-20 21:28:23 -05:00
461efa7b51
This MR may help to solve issues #19757 and #18008 Fixes: #19965
8 lines
135 B
CMake
8 lines
135 B
CMake
|
|
enable_language(C)
|
|
|
|
add_library(libC empty.c)
|
|
|
|
add_executable(empty empty.c)
|
|
target_link_libraries(empty PRIVATE lib$<LINK_LANGUAGE>)
|