Skip to content

Commit

Permalink
Fix CMake issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JGamache-autodesk committed Oct 25, 2024
1 parent a794b16 commit 450192a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/MaterialXRender/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ assign_source_group("Header Files" ${materialx_headers})
if(UNIX)
add_compile_options(-Wno-unused-function)
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
target_compile_options(${TARGET_NAME} PRIVATE -Wno-stringop-overflow)
add_compile_options(-Wno-stringop-overflow)
endif()
endif()

Expand Down

0 comments on commit 450192a

Please sign in to comment.