Commit 1886fe0 1 parent 312c4fc commit 1886fe0 Copy full SHA for 1886fe0
File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ project(libprlearn VERSION 1.0.0 LANGUAGES CXX)
6
6
if (NOT CMAKE_BUILD_TYPE )
7
7
set (CMAKE_BUILD_TYPE Release)
8
8
endif (NOT CMAKE_BUILD_TYPE )
9
- set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wpedantic -static-libgcc -static-libstdc++ " )
10
- set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -DNDEBUG -Wall -Wpedantic -static-libgcc -static-libstdc++ " )
9
+ set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wpedantic" )
10
+ set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -DNDEBUG -Wall -Wpedantic" )
11
11
12
12
set (CMAKE_POSITION_INDEPENDENT_CODE ON )
13
13
set (CMAKE_CXX_STANDARD 17)
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ set_target_properties(prlearnStatic PROPERTIES OUTPUT_NAME prlearn)
13
13
14
14
15
15
install (TARGETS prlearn
16
+ RUNTIME DESTINATION bin
16
17
LIBRARY DESTINATION lib
17
18
ARCHIVE DESTINATION lib)
18
19
install (FILES MLearning.h
You can’t perform that action at this time.
0 commit comments