This commit is contained in:
BLUELOVETH 2023-08-03 13:06:09 +08:00
parent 0644c403ee
commit 11c1979fe2

View File

@ -14,6 +14,9 @@ aux_source_directory(${CMAKE_CURRENT_LIST_DIR}/src/rope BOX2D_SRC_3)
set(CMAKE_CXX_FLAGS_RELEASE "-O2")
# may need this for linking to shared object
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
add_library(
box2d
STATIC