mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 00:49:01 +08:00
d45c9779a7
* [docopt] Add docopt.cpp to fix #3935 * [docopt] Cleanup * [docopt] Disable vcpkg_test_cmake due to misbehavior on x64 * [docopt] Install only one flavor (static/shared)
17 lines
580 B
Diff
17 lines
580 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 1aba5ae..5407e4a 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -113,7 +113,10 @@ endif()
|
|
set(export_name "docopt-targets")
|
|
|
|
# Runtime package
|
|
-install(TARGETS docopt EXPORT ${export_name} DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
|
+install(TARGETS docopt EXPORT ${export_name}
|
|
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
|
|
|
# Development package
|
|
install(TARGETS docopt_s EXPORT ${export_name} DESTINATION ${CMAKE_INSTALL_LIBDIR})
|