summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/interface_library/IMPORTED_LIBNAME-bad-value.cmake
blob: 1af65b468a3f66b42305837e774b23ca1cafd1c5 (plain)
1
2
3
4
5
6
add_library(MyTarget INTERFACE IMPORTED)
set_property(TARGET MyTarget PROPERTY IMPORTED_LIBNAME -flag)
set_property(TARGET MyTarget PROPERTY IMPORTED_LIBNAME item1 item2)
set_property(TARGET MyTarget PROPERTY IMPORTED_LIBNAME /path/to/item1)
set_property(TARGET MyTarget PROPERTY IMPORTED_LIBNAME \\path\\to\\item1)
set_property(TARGET MyTarget PROPERTY IMPORTED_LIBNAME c:\\path\\to\\item1)