mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 10:29:01 +02:00
use external project glm for physics library
This commit is contained in:
parent
8994cc0268
commit
d7ce10dedb
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,9 @@ set(TARGET_NAME physics)
|
||||||
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
# use setup_hifi_library macro to setup our project and link appropriate Qt modules
|
||||||
setup_hifi_library()
|
setup_hifi_library()
|
||||||
|
|
||||||
include_glm()
|
add_dependency_external_project(glm)
|
||||||
|
target_include_directories(${TARGET_NAME} PUBLIC ${GLM_INCLUDE_DIRS})
|
||||||
|
|
||||||
include_bullet()
|
include_bullet()
|
||||||
if (BULLET_FOUND)
|
if (BULLET_FOUND)
|
||||||
target_link_libraries(${TARGET_NAME} ${BULLET_LIBRARIES})
|
target_link_libraries(${TARGET_NAME} ${BULLET_LIBRARIES})
|
||||||
|
|
Loading…
Reference in a new issue