opensles detection: fail required but not found
This commit is contained in:
parent
d7a9add3b4
commit
a5dca8b446
@ -28,7 +28,10 @@ find_package_handle_standard_args(OPENSLES DEFAULT_MSG
|
||||
if(OPENSLES_FOUND)
|
||||
set(OPENSLES_LIBRARIES ${OPENSLES_LIBRARY})
|
||||
else(OPENSLES_FOUND)
|
||||
set(OPENSLES_LIBRARIES)
|
||||
message("${OPENSLES_FIND_REQUIRED}")
|
||||
if (OpenSLES_FIND_REQUIRED)
|
||||
message(FATAL_ERROR "Could NOT find OPENSLES")
|
||||
endif()
|
||||
endif(OPENSLES_FOUND)
|
||||
|
||||
mark_as_advanced(OPENSLES_INCLUDE_DIR OPENSLES_LIBRARY)
|
||||
|
Loading…
Reference in New Issue
Block a user