mirror of
https://github.com/bjornbytes/lovr.git
synced 2024-07-04 21:43:34 +00:00
CMake: rm physics library log messages;
This commit is contained in:
parent
cfd2374449
commit
822eb94993
|
@ -43,7 +43,6 @@ option(LOVR_BUILD_WITH_SYMBOLS "Build with C function symbols exposed" OFF)
|
||||||
|
|
||||||
set(LOVR_PHYSICS_LIBRARY "ODE" CACHE STRING "Physics library to use")
|
set(LOVR_PHYSICS_LIBRARY "ODE" CACHE STRING "Physics library to use")
|
||||||
set_property(CACHE LOVR_PHYSICS_LIBRARY PROPERTY STRINGS ODE JOLT)
|
set_property(CACHE LOVR_PHYSICS_LIBRARY PROPERTY STRINGS ODE JOLT)
|
||||||
message(STATUS "Physics library: ${LOVR_PHYSICS_LIBRARY}")
|
|
||||||
|
|
||||||
# Setup
|
# Setup
|
||||||
if(EMSCRIPTEN)
|
if(EMSCRIPTEN)
|
||||||
|
@ -550,10 +549,8 @@ if(LOVR_ENABLE_PHYSICS)
|
||||||
src/api/l_physics_world.c
|
src/api/l_physics_world.c
|
||||||
)
|
)
|
||||||
if(LOVR_PHYSICS_LIBRARY STREQUAL "ODE")
|
if(LOVR_PHYSICS_LIBRARY STREQUAL "ODE")
|
||||||
message(STATUS "Using ODE physics library")
|
|
||||||
target_sources(lovr PRIVATE src/modules/physics/physics_ode.c)
|
target_sources(lovr PRIVATE src/modules/physics/physics_ode.c)
|
||||||
elseif(LOVR_PHYSICS_LIBRARY STREQUAL "JOLT")
|
elseif(LOVR_PHYSICS_LIBRARY STREQUAL "JOLT")
|
||||||
message(STATUS "Using JOLT physics library")
|
|
||||||
target_sources(lovr PRIVATE src/modules/physics/physics_jolt.c)
|
target_sources(lovr PRIVATE src/modules/physics/physics_jolt.c)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in a new issue