Skip to content

Commit

Permalink
Merge pull request #208 from fknfilewalker/cmake_clang_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo authored Jul 19, 2024
2 parents 2a5ea89 + d66a67b commit 708641b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ target_include_directories(${BUILD_TARGET} PRIVATE ${PROJECT_SOURCE_DIR})
target_link_libraries(${BUILD_TARGET} ${TINYEXR_EXT_LIBRARIES} ${CMAKE_DL_LIBS})

# Increase warning level for clang.
IF (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
IF (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT MSVC)
set_source_files_properties(${TINYEXR_SOURCES} PROPERTIES COMPILE_FLAGS "-Weverything -Werror -Wno-padded -Wno-c++98-compat-pedantic -Wno-documentation -Wno-unused-member-function")
ENDIF ()

Expand Down

0 comments on commit 708641b

Please sign in to comment.