mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 11:28:59 +08:00
cce4bf5dff
* [sbp] new port Closes https://github.com/microsoft/vcpkg/issues/19218 * update portfile.cmake * update version * add vcpkg_fail_port_install for portifile * update version Co-authored-by: Jonliu1993 <13720414433@163.com>
28 lines
827 B
Diff
28 lines
827 B
Diff
commit 6023d12ca2df861b134b345151d2463a963e50c4
|
|
Author: Rodrigo Reichert <rodrigo.reichert@swift-nav.com>
|
|
Date: Wed Aug 4 13:24:43 2021 +1000
|
|
|
|
ESD-2166 Fix windows install dll directory (#1061)
|
|
|
|
diff --git a/c/src/CMakeLists.txt b/c/src/CMakeLists.txt
|
|
index b00fa523..1019683f 100644
|
|
--- a/c/src/CMakeLists.txt
|
|
+++ b/c/src/CMakeLists.txt
|
|
@@ -27,9 +27,13 @@ if (MINGW)
|
|
endif()
|
|
endif()
|
|
|
|
-install(TARGETS sbp
|
|
- EXPORT sbp-export
|
|
- DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR})
|
|
+install(
|
|
+ TARGETS sbp
|
|
+ EXPORT sbp-export
|
|
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
+)
|
|
install(DIRECTORY "${PROJECT_SOURCE_DIR}/include/libsbp/" DESTINATION "${CMAKE_INSTALL_FULL_INCLUDEDIR}/libsbp")
|
|
|
|
export(EXPORT sbp-export
|