mirror of
https://github.com/reactos/CMake.git
synced 2024-12-15 15:48:52 +00: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.
4 lines
94 B
CMake
4 lines
94 B
CMake
set(CMAKE_POLICY_WARNING_CMP0065 1)
|
|
enable_language(C)
|
|
add_executable(main subproject/main.c)
|