added static linking of the standard libraries
This commit is contained in:
parent
dacfaf22c7
commit
53f173fc12
@ -60,6 +60,8 @@ else()
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${LIB_RELEASE_PATH}) #for SHARED
|
||||
|
||||
list(APPEND LIB_PATHS ${LIB_RELEASE_PATH})
|
||||
|
||||
add_definitions(-static-libgcc -static-libstdc++)
|
||||
endif()
|
||||
|
||||
#create library and executable
|
||||
|
Loading…
x
Reference in New Issue
Block a user