1
0
Fork 0
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:
Nikolay Kasyanov 2021-05-04 21:53:11 +02:00
parent 0f33734f5d
commit 65925b2b72

View file

@ -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})