mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 13:48:33 -05:00
9784af1b50
This new policy restricts the addition of the shared library link flags to executables only when the ENABLE_EXPORTS property is set to True.
9 lines
133 B
CMake
9 lines
133 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(OLDBad1)
|
|
run_cmake(OLDBad2)
|
|
run_cmake(NEWBad)
|
|
run_cmake(NEWGood)
|
|
run_cmake(WARN-OFF)
|
|
run_cmake(WARN-ON)
|