This commit is contained in:
blueloveTH 2023-11-22 06:36:28 +08:00
parent acbfd11366
commit c9ae759b24
2 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,8 @@ else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions -O2")
endif()
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
add_library(
box2d
STATIC

View File

@ -16,6 +16,8 @@ else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions -O2")
endif()
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
add_library(
cjson
STATIC