summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/target_compile_features/imported_target.cmake
blob: e410ace2a17d49e8c038e4598a0ea4f2bff07efc (plain)
1
2
3
4
5
6
7
8
9
10
enable_language(CXX)

add_library(lib1-interface INTERFACE IMPORTED)
target_compile_features(lib1-interface INTERFACE cxx_delegating_constructors)

add_library(lib2-interface INTERFACE IMPORTED)
target_compile_features(lib2-interface PUBLIC cxx_delegating_constructors)

add_library(lib-shared SHARED IMPORTED)
target_compile_features(lib-shared INTERFACE cxx_delegating_constructors)