mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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)
|