mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 18:02:13 +02:00
fix ZLIB dll find, bullet check
This commit is contained in:
parent
c3b9198ec3
commit
63d4538b76
2 changed files with 3 additions and 2 deletions
2
cmake/externals/bullet/CMakeLists.txt
vendored
2
cmake/externals/bullet/CMakeLists.txt
vendored
|
@ -48,7 +48,7 @@ elseif (WIN32)
|
|||
set(BULLET_LIB_EXT "lib")
|
||||
endif ()
|
||||
|
||||
if (DEFINED SHARED_LIB_EXT)
|
||||
if (DEFINED BULLET_LIB_EXT)
|
||||
set(${EXTERNAL_NAME_UPPER}_DYNAMICS_LIBRARY_RELEASE ${BULLET_LIB_DIR}/${LIB_PREFIX}BulletDynamics.${BULLET_LIB_EXT} CACHE TYPE "Bullet dynamics release library location")
|
||||
set(${EXTERNAL_NAME_UPPER}_DYNAMICS_LIBRARY_DEBUG NOTFOUND CACHE TYPE "Bullet dynamics debug library location")
|
||||
|
||||
|
|
|
@ -135,10 +135,11 @@ if(ZLIB_INCLUDE_DIR AND EXISTS "${ZLIB_INCLUDE_DIR}/zlib.h")
|
|||
set(ZLIB_PATCH_VERSION "${ZLIB_VERSION_PATCH}")
|
||||
endif()
|
||||
|
||||
set(ZLIB_REQUIREMENTS ZLIB_LIBRARY ZLIB_INCLUDE_DIR VERSION_VAR ZLIB_VERSION_STRING)
|
||||
set(ZLIB_REQUIREMENTS ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
|
||||
if (WIN32)
|
||||
list(APPEND ZLIB_REQUIREMENTS ZLIB_DLL_PATH)
|
||||
endif ()
|
||||
list(APPEND ZLIB_REQUIREMENTS VERSION_VAR ZLIB_VERSION_STRING)
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set ZLIB_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
|
|
Loading…
Reference in a new issue