mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 17:49:02 +08:00
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 ()
|
||
|
|