Added simple detection for FMOD Studio API in CMake

This commit is contained in:
alexey.lysiuk 2016-09-06 12:35:22 +03:00 committed by Christoph Oelckers
parent c88eec3d73
commit 7e61a1ce2b

View file

@ -272,6 +272,10 @@ if( NOT NO_FMOD )
if( FMOD_INCLUDE_DIR )
message( STATUS "FMOD include files found at ${FMOD_INCLUDE_DIR}" )
include_directories( "${FMOD_INCLUDE_DIR}" )
if( EXISTS "${FMOD_INCLUDE_DIR}/fmod_common.h" )
set( FMOD_STUDIO YES )
endif()
else()
message( STATUS "Could not find FMOD include files" )
set( NO_FMOD ON )