Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
mosfet80 authored Dec 6, 2024
1 parent b644467 commit 44b562e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rviz_assimp_vendor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(ON 1)

# TODO: Switch to version range in find_package in CMake 3.19
find_package(assimp QUIET)
if(NOT assimp_FOUND OR "${assimp_VERSION}" VERSION_LESS 5.4.3)
if(NOT assimp_FOUND OR "${assimp_VERSION}" VERSION_LESS 5.2.0)
set(assimp_FOUND FALSE)
endif()

Expand All @@ -28,7 +28,7 @@ if(MSVC)
else()
set(ASSIMP_CMAKE_FLAGS "-DCMAKE_INSTALL_LIBDIR=lib")

set(ASSIMP_CXX_FLAGS "-std=c++17 ${CMAKE_CXX_FLAGS}")
set(ASSIMP_CXX_FLAGS "-std=c++14 ${CMAKE_CXX_FLAGS}")
# assimp version 5.3.1 still uses K&R style function prototypes,
# which are deprecated as of gcc 13.2 (in Ubuntu 24.04).
# Suppress the warning here for now.
Expand Down

0 comments on commit 44b562e

Please sign in to comment.