Skip to content

Commit

Permalink
Fix assimp build
Browse files Browse the repository at this point in the history
  • Loading branch information
edunad committed Aug 16, 2023
1 parent 257770f commit f44e01a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assimp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f44e01a

Please sign in to comment.