diff --git a/cmake/Modules/FindGLEW.cmake b/cmake/Modules/FindGLEW.cmake index 9626e612..55464879 100644 --- a/cmake/Modules/FindGLEW.cmake +++ b/cmake/Modules/FindGLEW.cmake @@ -60,3 +60,6 @@ IF (GLEW_INCLUDE_PATH AND GLEW_LIBRARY) SET(GLEW_FOUND "YES") ENDIF (GLEW_INCLUDE_PATH AND GLEW_LIBRARY) + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(GLEW DEFAULT_MSG GLEW_LIBRARY GLEW_INCLUDE_PATH) diff --git a/cmake/Modules/FindSndfile.cmake b/cmake/Modules/FindSndfile.cmake index ece231d0..16c31dd9 100644 --- a/cmake/Modules/FindSndfile.cmake +++ b/cmake/Modules/FindSndfile.cmake @@ -17,8 +17,7 @@ find_library(SNDFILE_LIBRARY NAMES sndfile sndfile-1) # Handle the QUIETLY and REQUIRED arguments and set SNDFILE_FOUND to TRUE if # all listed variables are TRUE. include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(SNDFILE DEFAULT_MSG - SNDFILE_INCLUDE_DIR SNDFILE_LIBRARY) +find_package_handle_standard_args(SNDFILE DEFAULT_MSG SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR) if(SNDFILE_FOUND) set(SNDFILE_LIBRARIES ${SNDFILE_LIBRARY})