diff options
Diffstat (limited to 'build_files/build_environment/cmake/glew.cmake')
-rw-r--r-- | build_files/build_environment/cmake/glew.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_files/build_environment/cmake/glew.cmake b/build_files/build_environment/cmake/glew.cmake index 2f8b88e8ddf..b37aaf77c78 100644 --- a/build_files/build_environment/cmake/glew.cmake +++ b/build_files/build_environment/cmake/glew.cmake @@ -22,9 +22,9 @@ set(GLEW_EXTRA_ARGS ) ExternalProject_Add(external_glew - URL ${GLEW_URI} + URL file://${PACKAGE_DIR}/${GLEW_FILE} DOWNLOAD_DIR ${DOWNLOAD_DIR} - URL_HASH MD5=${GLEW_HASH} + URL_HASH ${GLEW_HASH_TYPE}=${GLEW_HASH} PATCH_COMMAND COMMAND ${CMAKE_COMMAND} -E copy ${PATCH_DIR}/cmakelists_glew.txt ${BUILD_DIR}/glew/src/external_glew/CMakeLists.txt PREFIX ${BUILD_DIR}/glew CMAKE_ARGS -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_INSTALL_PREFIX=${LIBDIR}/glew ${DEFAULT_CMAKE_FLAGS} ${GLEW_EXTRA_ARGS} |