diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-12-26 07:30:30 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-01-04 10:28:57 (GMT) |
commit | 6a622285a7c59a938921449d1ea00e28c8d906ac (patch) | |
tree | 5e6d7e747e6cdef4c0218dde205e44d5ce3f3197 /Tests/ExportImport | |
parent | af3d3b88bef639f623dcdcc7940839799fcef255 (diff) | |
download | CMake-6a622285a7c59a938921449d1ea00e28c8d906ac.zip CMake-6a622285a7c59a938921449d1ea00e28c8d906ac.tar.gz CMake-6a622285a7c59a938921449d1ea00e28c8d906ac.tar.bz2 |
install: Ensure that install(TARGETS) works with no DESTINATION
INTERFACE_LIBRARY targets have no corresponding files, and so
require no DESTINATION to install anything to.
Diffstat (limited to 'Tests/ExportImport')
-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 f400f13..9d4793d 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 sharedlib +install(TARGETS headeronly sharediface + EXPORT expInterface +) +install(TARGETS sharedlib EXPORT expInterface RUNTIME DESTINATION bin LIBRARY DESTINATION lib NAMELINK_SKIP |