File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 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)
66if (NOT CMAKE_BUILD_TYPE )
77 set (CMAKE_BUILD_TYPE Release)
88endif (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" )
1111
1212set (CMAKE_POSITION_INDEPENDENT_CODE ON )
1313set (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)
1313
1414
1515install (TARGETS prlearn
16+ RUNTIME DESTINATION bin
1617 LIBRARY DESTINATION lib
1718 ARCHIVE DESTINATION lib)
1819install (FILES MLearning.h
You can’t perform that action at this time.
0 commit comments