mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-24 15:56:22 +00:00
Fixed: Give priority to fmod64 in 64 bits
This commit is contained in:
parent
a9b162b016
commit
1259c1dd5c
1 changed files with 8 additions and 1 deletions
|
@ -23,8 +23,15 @@ FIND_PATH(FMOD_INCLUDE_DIR
|
||||||
PATH_SUFFIXES fmod fmod3
|
PATH_SUFFIXES fmod fmod3
|
||||||
)
|
)
|
||||||
|
|
||||||
|
IF(TARGET_X64)
|
||||||
|
SET(FMOD_LIBRARY_NAMES fmod64 fmod)
|
||||||
|
ELSE(TARGET_X64)
|
||||||
|
SET(FMOD_LIBRARY_NAMES fmodvc fmod)
|
||||||
|
ENDIF(TARGET_X64)
|
||||||
|
|
||||||
FIND_LIBRARY(FMOD_LIBRARY
|
FIND_LIBRARY(FMOD_LIBRARY
|
||||||
NAMES fmod fmodvc libfmod fmod64
|
NAMES
|
||||||
|
${FMOD_LIBRARY_NAMES}
|
||||||
PATHS
|
PATHS
|
||||||
$ENV{FMOD_DIR}/lib
|
$ENV{FMOD_DIR}/lib
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
|
|
Loading…
Reference in a new issue