mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Link statically to gcc
This commit is contained in:
parent
0913898809
commit
afb93060f1
@ -21,6 +21,10 @@ file (GLOB_RECURSE po resources/po/*.po)
|
||||
|
||||
include_directories (${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
set (CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
|
||||
endif ()
|
||||
|
||||
add_executable (planetblupi ${sources})
|
||||
|
||||
file (COPY resources/data DESTINATION share/planetblupi)
|
||||
|
Loading…
x
Reference in New Issue
Block a user