1
0
Fork 0

Link libgcc statically in pair with libstdc++

This commit is contained in:
Ilya Fedin 2021-09-15 12:40:09 +04:00 committed by John Preston
parent c94b46f2fd
commit a4257299f6

View file

@ -78,6 +78,7 @@ if (NOT DESKTOP_APP_USE_PACKAGED)
target_link_options(common_options
INTERFACE
-static-libstdc++
-static-libgcc
)
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
target_link_static_libraries(common_options