2018-05-03 13:36:19 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2020-05-19 05:09:10 +08:00
|
|
|
index dfa9b72..ff9827e 100644
|
2018-05-03 13:36:19 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2020-05-19 05:09:10 +08:00
|
|
|
@@ -152,6 +152,8 @@ if (UNIX)
|
2018-05-03 13:36:19 +08:00
|
|
|
|
2020-05-19 05:09:10 +08:00
|
|
|
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()
|
2018-05-03 13:36:19 +08:00
|
|
|
|
2020-05-19 05:09:10 +08:00
|
|
|
if (WIN32)
|