From f44e01ab415114713c996afd4a4e0e7b8b9dcf76 Mon Sep 17 00:00:00 2001 From: FailCake Date: Wed, 16 Aug 2023 10:45:59 +0200 Subject: [PATCH] Fix assimp build --- assimp/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assimp/CMakeLists.txt b/assimp/CMakeLists.txt index e1f36eff..d0f8dd55 100644 --- a/assimp/CMakeLists.txt +++ b/assimp/CMakeLists.txt @@ -3,10 +3,11 @@ project("RAWRBOX.ASSIMP" VERSION ${RAWRBOX_VERSION} DESCRIPTION "RawrBox - ASSIM set(output_target RAWRBOX.ASSIMP) # LIBS --- -find_package(zlib QUIET) +find_package(ZLIB QUIET) if(ZLIB_FOUND) message(STATUS "Found zlib, turning off build zlib on assimp") set(BUILD_ZLIB 0) + set(ZLIB_FOUND 0) # Because assimp will then try to install invalid targets else() set(BUILD_ZLIB 1) endif()