Commit 799067fd authored by Serrière Guillaume's avatar Serrière Guillaume

Fix wrong CEGUI/Ogre check.

Install signal file used by classification testing even if the ssevep demo do not compile.
Signed-off-by: default avatarSerrière Guillaume <guillaume.serriere@inria.fr>
parent fdde7b96
......@@ -12,10 +12,10 @@ IF(NOT PATH_VRPN)
ENDIF(NOT PATH_VRPN)
INCLUDE("FindThirdPartyCEGUI_Check")
IF(NOT PATH_CEGUI)
IF(NOT CEGUI_FOUND OR NOT OgreCEGUIRenderer_FOUND)
MESSAGE(STATUS " --> Not building ${PROJECT_NAME}")
RETURN()
ENDIF(NOT PATH_CEGUI)
ENDIF(NOT CEGUI_FOUND OR NOT OgreCEGUIRenderer_FOUND)
FILE(GLOB_RECURSE source_files src/*.cpp src/*.h src/*.inl)
ADD_EXECUTABLE(${PROJECT_NAME} ${source_files})
......
......@@ -12,10 +12,10 @@ IF(NOT PATH_VRPN)
ENDIF(NOT PATH_VRPN)
INCLUDE("FindThirdPartyCEGUI_Check")
IF(NOT CEGUI_FOUND)
IF(NOT CEGUI_FOUND OR NOT OgreCEGUIRenderer_FOUND)
MESSAGE(STATUS " --> Not building ${PROJECT_NAME}")
RETURN()
ENDIF(NOT CEGUI_FOUND)
ENDIF(NOT CEGUI_FOUND OR NOT OgreCEGUIRenderer_FOUND)
FILE(GLOB_RECURSE source_files src/*.cpp src/*.h src/*.inl)
ADD_EXECUTABLE(${PROJECT_NAME} ${source_files})
......
......@@ -12,10 +12,10 @@ IF(NOT PATH_VRPN)
ENDIF(NOT PATH_VRPN)
INCLUDE("FindThirdPartyCEGUI_Check")
IF(NOT PATH_CEGUI)
IF(NOT CEGUI_FOUND OR NOT OgreCEGUIRenderer_FOUND)
MESSAGE(STATUS " --> Not building ${PROJECT_NAME}")
RETURN()
ENDIF(NOT PATH_CEGUI)
ENDIF(NOT CEGUI_FOUND OR NOT OgreCEGUIRenderer_FOUND)
FILE(GLOB_RECURSE source_files src/*.cpp src/*.h src/*.inl)
ADD_EXECUTABLE(${PROJECT_NAME} ${source_files})
......
......@@ -21,4 +21,6 @@ INSTALL(TARGETS ${PROJECT_NAME}
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR})
\ No newline at end of file
#Install the signal file required for testing
INSTALL(DIRECTORY ../../../../applications/demos/ssvep-demo/signals DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/openvibe/scenarios/ PATTERN ".svn" EXCLUDE)
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