diff options
author | Brad King <brad.king@kitware.com> | 2008-02-01 18:08:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-01 18:08:12 (GMT) |
commit | 16186ec18c0654d6fc2a9018553df53390bb9ff2 (patch) | |
tree | b128754f0e3a693e007258e582eeaf3d6110fef7 /Tests/ExportImport | |
parent | 15741325e0393ec7a97212cf59efc3d3036c9d7d (diff) | |
download | CMake-16186ec18c0654d6fc2a9018553df53390bb9ff2.zip CMake-16186ec18c0654d6fc2a9018553df53390bb9ff2.tar.gz CMake-16186ec18c0654d6fc2a9018553df53390bb9ff2.tar.bz2 |
BUG: Remove InstallNameFixupPath from cmTarget and cmInstallTargetGenerator.
- Motivation:
- It depended on the order of installation
- It supported only a single destination for each target
- It created directory portions of an install name without user request
- Updated ExportImport test to install targets in an order that expoed
this bug
Diffstat (limited to 'Tests/ExportImport')
-rw-r--r-- | Tests/ExportImport/Export/CMakeLists.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Tests/ExportImport/Export/CMakeLists.txt b/Tests/ExportImport/Export/CMakeLists.txt index 1e6307a..b90330b 100644 --- a/Tests/ExportImport/Export/CMakeLists.txt +++ b/Tests/ExportImport/Export/CMakeLists.txt @@ -37,14 +37,6 @@ set_property(TARGET testExe3 PROPERTY MACOSX_BUNDLE 1) # Install and export from install tree. install( TARGETS - testExe2libImp testLib3Imp - EXPORT exp - RUNTIME DESTINATION bin - LIBRARY DESTINATION lib/impl - ARCHIVE DESTINATION lib/impl - ) -install( - TARGETS testExe1 testLib1 testLib2 testExe2 testLib3 testLib4 testExe3 testExe2lib EXPORT exp @@ -54,6 +46,14 @@ install( FRAMEWORK DESTINATION Frameworks BUNDLE DESTINATION Applications ) +install( + TARGETS + testExe2libImp testLib3Imp + EXPORT exp + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib/impl + ARCHIVE DESTINATION lib/impl + ) install(EXPORT exp NAMESPACE exp_ DESTINATION lib/exp) # Export from build tree. |