FIND_PATH(SSVMENUSYSTEM_INCLUDE_DIR
  NAMES SSVMenuSystem/SSVMenuSystem.hpp
  PATH_SUFFIXES include/
  PATHS
  "${PROJECT_SOURCE_DIR}/../SSVMenuSystem/"
  ${SSVMENUSYSTEM_ROOT}
  $ENV{SSVMENUSYSTEM_ROOT}
  /usr/local/
  /usr/
  /sw/
  /opt/local/
  /opt/csw/
  /opt/
  "${PROJECT_SOURCE_DIR}/extlibs/SSVMenuSystem/"
  "${CMAKE_CURRENT_LIST_DIR}/../../"

  NO_DEFAULT_PATH
)

message("\nFound SSVMenuSystem include at: ${SSVMENUSYSTEM_INCLUDE_DIR}.\n")

IF(SSVMENUSYSTEM_INCLUDE_DIR)
#{
  SET(SSVMENUSYSTEM_FOUND TRUE)
#}
ELSE(SSVMENUSYSTEM_INCLUDE_DIR)
#{
  SET(SSVMENUSYSTEM_FOUND FALSE)
#}
ENDIF(SSVMENUSYSTEM_INCLUDE_DIR)

IF(SSVMENUSYSTEM_FOUND)
#{
  MESSAGE(STATUS "Found SSVMenuSystem in ${SSVMENUSYSTEM_INCLUDE_DIR}")
#}
ELSE(SSVMENUSYSTEM_FOUND)
#{
  IF(SSVMENUSYSTEM_FIND_REQUIRED)
  #{
    MESSAGE(FATAL_ERROR "Could not find SSVMenuSystem library")
  #}
  ENDIF(SSVMENUSYSTEM_FIND_REQUIRED)
#}
ENDIF(SSVMENUSYSTEM_FOUND)

MARK_AS_ADVANCED(SSVMENUSYSTEM_INCLUDE_DIR)