mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 00:36:52 +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
|
# (To distribute this file outside of CMake, substitute the full
|
||||||
# License text for the above reference.)
|
# License text for the above reference.)
|
||||||
|
|
||||||
|
|
||||||
|
include("${MACRO_DIR}/HifiLibrarySearchHints.cmake")
|
||||||
|
hifi_library_search_hints("bullet")
|
||||||
|
|
||||||
macro(_FIND_BULLET_LIBRARY _var)
|
macro(_FIND_BULLET_LIBRARY _var)
|
||||||
find_library(${_var}
|
find_library(${_var}
|
||||||
NAMES
|
NAMES
|
||||||
${ARGN}
|
${ARGN}
|
||||||
HINTS
|
HINTS
|
||||||
$ENV{HIFI_LIB_DIR}/bullet
|
${BULLET_SEARCH_DIRS}
|
||||||
$ENV{BULLET_ROOT_DIR}
|
|
||||||
${BULLET_ROOT}
|
${BULLET_ROOT}
|
||||||
${BULLET_ROOT}/lib/Release
|
${BULLET_ROOT}/lib/Release
|
||||||
${BULLET_ROOT}/lib/Debug
|
${BULLET_ROOT}/lib/Debug
|
||||||
|
@ -58,8 +61,7 @@ endmacro()
|
||||||
|
|
||||||
find_path(BULLET_INCLUDE_DIR NAMES btBulletCollisionCommon.h
|
find_path(BULLET_INCLUDE_DIR NAMES btBulletCollisionCommon.h
|
||||||
HINTS
|
HINTS
|
||||||
$ENV{HIFI_LIB_DIR}/bullet
|
${BULLET_SEARCH_DIRS}
|
||||||
$ENV{BULLET_ROOT_DIR}
|
|
||||||
${BULLET_ROOT}/include
|
${BULLET_ROOT}/include
|
||||||
${BULLET_ROOT}/src
|
${BULLET_ROOT}/src
|
||||||
PATH_SUFFIXES bullet
|
PATH_SUFFIXES bullet
|
||||||
|
|
Loading…
Reference in a new issue