CMake: fix ignored SM auto routing option when libUUID was not found
(fix and close
CMake would now throw an error explaining that SM auto routing cannot be
supported without libUUID.
@@ -140,6 +140,8 @@ if(MERCURY_USE_SM_ROUTING)
${MERCURY_EXT_LIB_DEPENDENCIES}
${UUID_LIBRARIES}
)
+ else()
+ message(FATAL_ERROR "Could not find libUUID, please check UUID_INCLUDE_DIR.")
endif()
if(MERCURY_USE_SM_ROUTING AND NOT NA_USE_SM)
# Always force SM if NA_USE_SM is turned OFF
