mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 11:19:00 +08:00
3f7bee619a
* [libgo] Update to 3.1 * Add headers in debug sub folder * Update ci.baseline and remove headers in debug/include directory * Update the way to install headers and targets on Windows * Remove the headers in netio/disable_hook on all platforms * Add unsupported for arm and uwp * Add only support static build and update ci.baseline * code review Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
14 lines
482 B
Diff
14 lines
482 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index dfa9b72..ff9827e 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -152,6 +152,8 @@ if (UNIX)
|
|
|
|
elseif (WIN32)
|
|
set_target_properties("${STATIC_T}" PROPERTIES COMPILE_FLAGS "/wd4819 /wd4267")
|
|
+ install(TARGETS ${STATIC_T} LIBRARY DESTINATION "lib" ARCHIVE DESTINATION "lib")
|
|
+ install(DIRECTORY ${PROJECT_SOURCE_DIR}/libgo/ DESTINATION "include/libgo" FILES_MATCHING PATTERN "*.h")
|
|
endif()
|
|
|
|
if (WIN32)
|