mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 20:22:34 +02:00
use hifi_library_search_hints() macro
This commit is contained in:
parent
54a6a0a27c
commit
a293c61c05
1 changed files with 6 additions and 4 deletions
|
@ -30,13 +30,16 @@
|
|||
# (To distribute this file outside of CMake, substitute the full
|
||||
# License text for the above reference.)
|
||||
|
||||
|
||||
include("${MACRO_DIR}/HifiLibrarySearchHints.cmake")
|
||||
hifi_library_search_hints("bullet")
|
||||
|
||||
macro(_FIND_BULLET_LIBRARY _var)
|
||||
find_library(${_var}
|
||||
NAMES
|
||||
${ARGN}
|
||||
HINTS
|
||||
$ENV{HIFI_LIB_DIR}/bullet
|
||||
$ENV{BULLET_ROOT_DIR}
|
||||
${BULLET_SEARCH_DIRS}
|
||||
${BULLET_ROOT}
|
||||
${BULLET_ROOT}/lib/Release
|
||||
${BULLET_ROOT}/lib/Debug
|
||||
|
@ -58,8 +61,7 @@ endmacro()
|
|||
|
||||
find_path(BULLET_INCLUDE_DIR NAMES btBulletCollisionCommon.h
|
||||
HINTS
|
||||
$ENV{HIFI_LIB_DIR}/bullet
|
||||
$ENV{BULLET_ROOT_DIR}
|
||||
${BULLET_SEARCH_DIRS}
|
||||
${BULLET_ROOT}/include
|
||||
${BULLET_ROOT}/src
|
||||
PATH_SUFFIXES bullet
|
||||
|
|
Loading…
Reference in a new issue