Fix cmake

This commit is contained in:
Atlante45 2014-10-14 15:48:43 -07:00
parent f09dc1aeac
commit 954be926e1
2 changed files with 3 additions and 3 deletions

View file

@ -27,11 +27,11 @@ else ()
if (GVERB_FOUND)
if (NOT GVERB_FIND_QUIETLY)
message(STATUS "Found Gverb... ${GVERB_LIBRARIES}")
message(STATUS "Found Gverb: ${GVERB_INCLUDE_DIRS}")
endif (NOT GVERB_FIND_QUIETLY)
else ()
if (GVERB_FIND_REQUIRED)
message(FATAL_ERROR "Could not find Gverb")
message(FATAL_ERROR "Could NOT find Gverb")
endif (GVERB_FIND_REQUIRED)
endif ()

View file

@ -2,7 +2,7 @@ set(TARGET_NAME interface)
project(${TARGET_NAME})
# set a default root dir for each of our optional externals if it was not passed
set(OPTIONAL_EXTERNALS "Faceplus" "Faceshift" "LibOVR" "PrioVR" "Sixense" "Visage" "LeapMotion" "RtMidi" "Qxmpp" "SDL2")
set(OPTIONAL_EXTERNALS "Faceplus" "Faceshift" "LibOVR" "PrioVR" "Sixense" "Visage" "LeapMotion" "RtMidi" "Qxmpp" "SDL2" "GVERB")
foreach(EXTERNAL ${OPTIONAL_EXTERNALS})
string(TOUPPER ${EXTERNAL} ${EXTERNAL}_UPPERCASE)
if (NOT ${${EXTERNAL}_UPPERCASE}_ROOT_DIR)