Skip to content

Commit

Permalink
Update CMakeLists.txt (assimp#5782)
Browse files Browse the repository at this point in the history
- Disable function without a prototype for clang
  • Loading branch information
kimkulling authored Sep 17, 2024
1 parent f4c7606 commit f636252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ MACRO(ADD_ASSIMP_IMPORTER name)
ENDMACRO()

if (NOT ASSIMP_NO_EXPORT)

# if this variable is set to TRUE, the user can manually disable exporters by setting
# ASSIMP_BUILD_XXX_EXPORTER to FALSE for each exporter
# if this variable is set to FALSE, the user can manually enable exporters by setting
Expand Down Expand Up @@ -1397,6 +1396,7 @@ IF (ASSIMP_WARNINGS_AS_ERRORS)
-Wno-undefined-func-template
-Wno-declaration-after-statement
-Wno-deprecated-declarations
-Wno-deprecated-non-prototype
)
ELSE()
TARGET_COMPILE_OPTIONS(assimp PRIVATE /W4 /WX)
Expand Down

0 comments on commit f636252

Please sign in to comment.