- Update src/CMakelists.txt to check for FMOD Ex 4.26 and look for its include files

in a few more locations.

SVN r1736 (trunk)
This commit is contained in:
Randy Heit 2009-07-25 00:59:26 +00:00
parent 25c0f679cb
commit f1e6ec1fd9

View file

@ -32,7 +32,7 @@ set( MINOR_VERSIONS "50" "49" "48" "47" "46" "45" "44" "43" "42" "41"
"27" "26" "25" "24" "23" "22" "21" "20" "21" "19" "18" "17" "16" "27" "26" "25" "24" "23" "22" "21" "20" "21" "19" "18" "17" "16"
"15" "14" "13" "12" "11" "10" "09" "08" "07" "06" "05" "04" "03" "15" "14" "13" "12" "11" "10" "09" "08" "07" "06" "05" "04" "03"
"02" "01" "00" ) "02" "01" "00" )
set( MAJOR_VERSIONS "24" "22" "20" ) set( MAJOR_VERSIONS "26" "24" "22" "20" )
set( FMOD_DIR_VERSIONS ${FMOD_DIR_VERSIONS} "../fmod" ) set( FMOD_DIR_VERSIONS ${FMOD_DIR_VERSIONS} "../fmod" )
foreach( majver ${MAJOR_VERSIONS} ) foreach( majver ${MAJOR_VERSIONS} )
foreach( minver ${MINOR_VERSIONS} ) foreach( minver ${MINOR_VERSIONS} )
@ -129,9 +129,13 @@ else( WIN32 )
set( FMOD_SEARCH_PATHS set( FMOD_SEARCH_PATHS
/usr/local/include /usr/local/include
/usr/local/include/fmodex
/usr/include /usr/include
/usr/include/fmodex
/opt/local/include /opt/local/include
/opt/include ) /opt/local/include/fmodex
/opt/include
/opt/include/fmodex )
set( FMOD_INC_PATH_SUFFIXES PATH_SUFFIXES fmodex ) set( FMOD_INC_PATH_SUFFIXES PATH_SUFFIXES fmodex )
set( NASM_NAMES nasm ) set( NASM_NAMES nasm )