Commit 7023a893 authored by nfoy's avatar nfoy Committed by Serrière Guillaume

FindThirdPartyOgre3D asks for OGRE version <= 1.8 for compatibility

Disable ssvep-mid-shooter when CEGUI is not found
parent 0bbf8937
......@@ -11,6 +11,12 @@ IF(NOT PATH_VRPN)
RETURN()
ENDIF(NOT PATH_VRPN)
INCLUDE("FindThirdPartyCEGUI")
IF(NOT PATH_CEGUI)
MESSAGE(STATUS " --> Not building ${PROJECT_NAME}")
RETURN()
ENDIF(NOT PATH_CEGUI)
FILE(GLOB_RECURSE source_files src/*.cpp src/*.h src/*.inl)
ADD_EXECUTABLE(${PROJECT_NAME} ${source_files})
......
......@@ -36,7 +36,7 @@ ENDIF(WIN32)
IF(UNIX)
INCLUDE("FindThirdPartyPkgConfig")
pkg_check_modules(Ogre3D OGRE)
pkg_check_modules(Ogre3D OGRE<=1.8)
pkg_check_modules(OIS OIS)
ENDIF(UNIX)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment