mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 13:49:46 +02:00
more correct cmake config for Bullet
(copying pattern from IncludeGLM.cmake)
This commit is contained in:
parent
51cc9d6d9a
commit
2177a1701a
1 changed files with 3 additions and 1 deletions
|
@ -10,5 +10,7 @@
|
||||||
macro(INCLUDE_BULLET)
|
macro(INCLUDE_BULLET)
|
||||||
find_package(Bullet REQUIRED)
|
find_package(Bullet REQUIRED)
|
||||||
include_directories("${BULLET_INCLUDE_DIRS}")
|
include_directories("${BULLET_INCLUDE_DIRS}")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -isystem ${BULLET_INCLUDE_DIRS}")
|
if (APPLE OR UNIX)
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -isystem ${BULLET_INCLUDE_DIRS}")
|
||||||
|
endif()
|
||||||
endmacro(INCLUDE_BULLET)
|
endmacro(INCLUDE_BULLET)
|
||||||
|
|
Loading…
Reference in a new issue