Skip to content

Commit

Permalink
Fix CMake project not defining USING_ASSIMP for MinGW builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Lactozilla committed Jun 10, 2024
1 parent a8121a5 commit fedebeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ else()
endif()
else()
if(USE_OPEN_ASSET_IMPORT_LIBRARY)
add_definitions(-DUSING_ASSIMP)
set(ASSIMP_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/meta/win/include/assimp/")
set(ASSIMP_LIBRARIES "${CMAKE_CURRENT_LIST_DIR}/meta/win/lib/mingw/${TOOLCHAIN_PREFIX}/libassimp.a;${CMAKE_CURRENT_LIST_DIR}/meta/win/lib/mingw/${TOOLCHAIN_PREFIX}/libzlibstatic.a")
endif()
Expand Down

0 comments on commit fedebeb

Please sign in to comment.