mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 07:37:50 +08:00
5510cb8d18
- [ ] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [ ] SHA512s are updated for each updated download. - [ ] The "supports" clause reflects platforms that may be fixed by this new version. - [ ] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [ ] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file.
22 lines
767 B
Diff
22 lines
767 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 24ebee5..a0b88b7 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -78,7 +78,7 @@ if (BUILD_STATIC_LIBS)
|
|
add_library (origin_static STATIC $<TARGET_OBJECTS:origin>)
|
|
set_target_properties(origin_static PROPERTIES OUTPUT_NAME "origin" )
|
|
install( TARGETS origin_static
|
|
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
)
|
|
endif ()
|
|
@@ -100,6 +100,7 @@ if (BUILD_SHARED_LIBS)
|
|
install( TARGETS origin_shared
|
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
)
|
|
endif ()
|
|
|