Staticc linking to libstdc++/libgcc
This commit is contained in:
@@ -101,11 +101,11 @@ target_link_libraries(Game OgreBites OgreBullet OgrePaging OgreTerrain OgreMeshL
|
||||
GameData
|
||||
sound
|
||||
flecs::flecs_static
|
||||
-static-libstdc++
|
||||
-static-libgcc
|
||||
-Wl,--as-needed
|
||||
)
|
||||
if(OGRE_STATIC)
|
||||
target_link_options(Game PRIVATE -static-libstdc++ -static-libgcc)
|
||||
endif()
|
||||
add_dependencies(Game stage_files import_buildings import_water_stuff import_vehicles import_vrm audio_data_gui)
|
||||
|
||||
add_executable(Procedural Procedural.cpp ${TERRAIN_SRC})
|
||||
|
||||
Reference in New Issue
Block a user