summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0004/CMP0004-NEW.cmake
blob: f42d8e49dc19d5161ddbd4222c8e7f9d174b8bb5 (plain)
1
2
3
4
5
6
7
8
9

cmake_minimum_required(VERSION 2.8.4)

cmake_policy(SET CMP0004 NEW)

add_library(foo SHARED empty.cpp)
add_library(bar SHARED empty.cpp)

target_link_libraries(foo "$<1: bar >")