mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Use release squish if debug not found. Fixes s3tc compressor tool build.
--HG-- branch : hotfix
This commit is contained in:
parent
e7066c1384
commit
bdb633cf83
1 changed files with 3 additions and 1 deletions
|
@ -55,10 +55,12 @@ FIND_LIBRARY(SQUISH_LIBRARY_DEBUG
|
||||||
IF(SQUISH_INCLUDE_DIR)
|
IF(SQUISH_INCLUDE_DIR)
|
||||||
IF(SQUISH_LIBRARY_RELEASE)
|
IF(SQUISH_LIBRARY_RELEASE)
|
||||||
SET(SQUISH_FOUND "YES")
|
SET(SQUISH_FOUND "YES")
|
||||||
|
|
||||||
SET(SQUISH_LIBRARIES "optimized;${SQUISH_LIBRARY_RELEASE}")
|
SET(SQUISH_LIBRARIES "optimized;${SQUISH_LIBRARY_RELEASE}")
|
||||||
IF(SQUISH_LIBRARY_DEBUG)
|
IF(SQUISH_LIBRARY_DEBUG)
|
||||||
SET(SQUISH_LIBRARIES "${SQUISH_LIBRARIES};debug;${SQUISH_LIBRARY_DEBUG}")
|
SET(SQUISH_LIBRARIES "${SQUISH_LIBRARIES};debug;${SQUISH_LIBRARY_DEBUG}")
|
||||||
|
ELSE(SQUISH_LIBRARY_DEBUG)
|
||||||
|
SET(SQUISH_LIBRARIES "${SQUISH_LIBRARIES};debug;${SQUISH_LIBRARY_RELEASE}")
|
||||||
|
MESSAGE("Debug Squish NOT found, using the release version!")
|
||||||
ENDIF(SQUISH_LIBRARY_DEBUG)
|
ENDIF(SQUISH_LIBRARY_DEBUG)
|
||||||
ENDIF(SQUISH_LIBRARY_RELEASE)
|
ENDIF(SQUISH_LIBRARY_RELEASE)
|
||||||
ENDIF(SQUISH_INCLUDE_DIR)
|
ENDIF(SQUISH_INCLUDE_DIR)
|
||||||
|
|
Loading…
Reference in a new issue