mirror of
https://github.com/rwengine/openrw.git
synced 2024-09-15 15:02:34 +02:00
CMake: Use Bullet include path returned by FindBullet
This commit is contained in:
parent
d2d8a97a09
commit
b821f2e5a7
@ -41,8 +41,6 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
|
||||
set(OPENRW_PLATFORM_LIBS iconv)
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
add_definitions(-DRW_WINDOWS)
|
||||
set(BULLET_ROOT "$ENV{BULLET_ROOT}")
|
||||
include_directories("$ENV{BULLET_ROOT}/src")
|
||||
else ()
|
||||
message(FATAL_ERROR "Unknown platform \"${CMAKE_SYSTEM_NAME}\". please update CMakeLists.txt.")
|
||||
endif ()
|
||||
@ -99,6 +97,7 @@ include_directories(
|
||||
${SDL2_INCLUDE_DIR}
|
||||
${GLM_INCLUDE_DIRS}
|
||||
${OPENGL_INCLUDE_DIR}
|
||||
${BULLET_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
# External-internal dependencies
|
||||
|
Loading…
Reference in New Issue
Block a user