mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 20:07:07 +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)
|
||||
find_package(Bullet REQUIRED)
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue