Auto-update mcut to v1.2.0 (#3112)
* Update mcut to v1.2.0 * patch mingw --------- Co-authored-by: star9029 <hengxings783@gmail.com>pull/3376/head
parent
cb68f80a92
commit
fe5954a269
2 changed files with 55 additions and 9 deletions
@ -0,0 +1,34 @@ |
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 464854d..6801276 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -297,25 +297,10 @@ endif()
|
||||||
|
|
||||||
|
# TODO: package documentation files
|
||||||
|
|
||||||
|
-if(MCUT_BUILD_AS_SHARED_LIB)
|
||||||
|
- #
|
||||||
|
- # dynamic libs
|
||||||
|
- #
|
||||||
|
-
|
||||||
|
- install(TARGETS ${mpn_shared_lib_name}
|
||||||
|
- LIBRARY
|
||||||
|
- DESTINATION lib/shared
|
||||||
|
- COMPONENT dynamic_libraries)
|
||||||
|
-else()
|
||||||
|
- #
|
||||||
|
- # static libs
|
||||||
|
- #
|
||||||
|
-
|
||||||
|
- install(TARGETS ${mpn_static_lib_name}
|
||||||
|
- ARCHIVE
|
||||||
|
- DESTINATION lib/static
|
||||||
|
- COMPONENT static_libraries)
|
||||||
|
-endif()
|
||||||
|
+install(TARGETS ${target_name}
|
||||||
|
+ RUNTIME DESTINATION bin
|
||||||
|
+ LIBRARY DESTINATION lib
|
||||||
|
+ ARCHIVE DESTINATION lib)
|
||||||
|
|
||||||
|
#
|
||||||
|
# headers
|
Loading…
Reference in new issue