mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-07 00:45:34 +00:00
Pass CMAKE_PREFIX_PATH into Bullet precision check
Fixes macOS and potentially any other builds that use dependencies from non-standard directories.
This commit is contained in:
parent
0f33734f5d
commit
65925b2b72
1 changed files with 1 additions and 1 deletions
|
@ -45,6 +45,6 @@ try_compile(RESULT_VAR
|
|||
${CMAKE_BINARY_DIR}/temp
|
||||
${TMP_ROOT}
|
||||
checkbullet
|
||||
CMAKE_FLAGS "${ROOT}"
|
||||
CMAKE_FLAGS "${ROOT}" "-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}"
|
||||
)
|
||||
set(HAS_DOUBLE_PRECISION_BULLET ${RESULT_VAR})
|
||||
|
|
Loading…
Reference in a new issue