summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/export/ExportPropertiesUndefined.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/export/ExportPropertiesUndefined.cmake')
-rw-r--r--Tests/RunCMake/export/ExportPropertiesUndefined.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/export/ExportPropertiesUndefined.cmake b/Tests/RunCMake/export/ExportPropertiesUndefined.cmake
new file mode 100644
index 0000000..aa529f2
--- /dev/null
+++ b/Tests/RunCMake/export/ExportPropertiesUndefined.cmake
@@ -0,0 +1,11 @@
+enable_language(CXX)
+add_library(foo empty.cpp)
+set_target_properties(foo PROPERTIES
+ EXPORT_PROPERTIES "NotDefinedProp"
+)
+export(TARGETS foo FILE "${CMAKE_CURRENT_BINARY_DIR}/foo.cmake")
+install(TARGETS foo EXPORT fooExport
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib
+)