mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:28:59 +08:00
8c0860c915
* [LAStools] Update to 200509 * [LAStools] fixed file naming for case-sensitive linux triplett
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
diff --git a/LASlib/src/CMakeLists.txt b/LASlib/src/CMakeLists.txt
|
|
index 1b170bf..b5c40cb 100644
|
|
--- a/LASlib/src/CMakeLists.txt
|
|
+++ b/LASlib/src/CMakeLists.txt
|
|
@@ -99,17 +99,8 @@ if(MSVC)
|
|
)
|
|
endif()
|
|
|
|
+install(TARGETS LASlib EXPORT LASlib-targets
|
|
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
|
install(FILES ${LAS_INCLUDES} DESTINATION include/LASlib)
|
|
-
|
|
-if (MSVC)
|
|
- foreach( OUTPUTCONFIG ${CMAKE_CONFIGURATION_TYPES} )
|
|
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../lib/${OUTPUTCONFIG} DESTINATION lib/LASlib)
|
|
- endforeach( OUTPUTCONFIG CMAKE_CONFIGURATION_TYPES )
|
|
-else()
|
|
- install(TARGETS LASlib EXPORT laslib-targets
|
|
- ARCHIVE DESTINATION lib/LASlib
|
|
- LIBRARY DESTINATION lib/LASlib
|
|
- RUNTIME DESTINATION lib/LASlib)
|
|
- install(EXPORT laslib-targets DESTINATION lib/cmake/LASlib)
|
|
- install(FILES ${CMAKE_SOURCE_DIR}/LASlib/src/laslib-config.cmake DESTINATION lib/cmake/LASlib)
|
|
-endif(MSVC)
|
|
+install(EXPORT LASlib-targets DESTINATION share/lastools/LASlib)
|
|
+install(FILES ${CMAKE_SOURCE_DIR}/LASlib/src/laslib-config.cmake DESTINATION share/lastools/LASlib)
|
|
\ No newline at end of file
|