CMake/Tests/RunCMake/CMP0022/CMP0022-NOWARN-shared.cmake

11 lines
226 B
CMake
Raw Normal View History

enable_language(CXX)
cmake_policy(SET CMP0042 NEW)
add_library(foo SHARED empty_vs6_1.cpp)
add_library(bar SHARED empty_vs6_2.cpp)
target_link_libraries(bar foo)
add_executable(zot empty.cpp)
target_link_libraries(zot bar)