diff --git a/cmake/FindGLEW.cmake b/cmake/FindGLEW.cmake index b451dccc4..1c06e59b0 100644 --- a/cmake/FindGLEW.cmake +++ b/cmake/FindGLEW.cmake @@ -9,7 +9,6 @@ if(NOT PREFER_BUNDLED_LIBS) endif() if(NOT GLEW_FOUND) - set(GLEW_FOUND ON) set(GLEW_BUNDLED ON) set(GLEW_SRC_DIR src/engine/external/glew) set_glob(GLEW_SRC GLOB ${GLEW_SRC_DIR} glew.c) diff --git a/cmake/FindZLIB.cmake b/cmake/FindZLIB.cmake index cd49eabf1..a3b37c7f7 100644 --- a/cmake/FindZLIB.cmake +++ b/cmake/FindZLIB.cmake @@ -9,7 +9,6 @@ if(NOT PREFER_BUNDLED_LIBS) endif() if(NOT ZLIB_FOUND) - set(ZLIB_FOUND ON) set(ZLIB_BUNDLED ON) set(ZLIB_SRC_DIR src/engine/external/zlib) set_glob(ZLIB_SRC GLOB ${ZLIB_SRC_DIR}