diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-12-17 18:23:40 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:07 (GMT) |
commit | 9eaf3755987821080908a289cefbf546773071f9 (patch) | |
tree | ce0e87471b4a2b280c3360234ae31ab50be32149 /Tests/ExportImport/Export | |
parent | 8ed59fc207fd028d5b2b1f8cb8a323291ef04ffc (diff) | |
download | CMake-9eaf3755987821080908a289cefbf546773071f9.zip CMake-9eaf3755987821080908a289cefbf546773071f9.tar.gz CMake-9eaf3755987821080908a289cefbf546773071f9.tar.bz2 |
Export: Populate INTERFACE_COMPILE_FEATURES property.
Diffstat (limited to 'Tests/ExportImport/Export')
-rw-r--r-- | Tests/ExportImport/Export/Interface/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/ExportImport/Export/Interface/CMakeLists.txt b/Tests/ExportImport/Export/Interface/CMakeLists.txt index 9d4793d..1b653eb 100644 --- a/Tests/ExportImport/Export/Interface/CMakeLists.txt +++ b/Tests/ExportImport/Export/Interface/CMakeLists.txt @@ -23,7 +23,10 @@ set_property(TARGET sharedlib PROPERTY INTERFACE_COMPILE_DEFINITIONS "SHAREDLIB_ add_library(sharediface INTERFACE) target_link_libraries(sharediface INTERFACE sharedlib) -install(TARGETS headeronly sharediface +add_library(use_auto_type INTERFACE) +target_compile_features(use_auto_type INTERFACE cxx_auto_type) + +install(TARGETS headeronly sharediface use_auto_type EXPORT expInterface ) install(TARGETS sharedlib |