mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05:00
99d09ec45a
MSBuild adds some `link` flags by default, but for CMake they may not match what's produced by command-line generators. If these flags are not specified by the project or user, suppress them. Fixes: #27004
5 lines
127 B
CMake
5 lines
127 B
CMake
enable_language(C)
|
|
add_library(emptyStatic STATIC empty.c)
|
|
add_library(emptyShared SHARED empty.c)
|
|
add_executable(main main.c)
|