message: Switch to whitelist for version string
diff: @@ -39,8 +39,11 @@ IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
  OUTPUT_VARIABLE "OSPRAY_VERSION_GITBRANCH"
  ERROR_QUIET
  OUTPUT_STRIP_TRAILING_WHITESPACE)
  - IF (OSPRAY_VERSION_GITBRANCH STREQUAL "devel")
  - SET(OSPRAY_VERSION_NOTE "-devel (${OSPRAY_VERSION_GITHASH_SHORT})")
  + IF (NOT OSPRAY_VERSION_GITBRANCH MATCHES "^master$|^release-")
  + IF (NOT OSPRAY_VERSION_GITBRANCH STREQUAL "HEAD")
  + SET(OSPRAY_VERSION_NOTE "-${OSPRAY_VERSION_GITBRANCH}")
  + ENDIF()
  + SET(OSPRAY_VERSION_NOTE "${OSPRAY_VERSION_NOTE} (${OSPRAY_VERSION_GITHASH_SHORT})")
  ENDIF()
  ENDIF()
  ENDIF()
  