Skip to content

Commit

Permalink
Merge pull request #71 from TechSmith/disableWarnings
Browse files Browse the repository at this point in the history
Disable some warnings for clang
  • Loading branch information
dchengTSC authored Dec 22, 2022
2 parents 50ce92b + 402a608 commit 339f1da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ target_include_directories(mp4v2 PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})

#target_compile_definitions(mp4v2 PUBLIC MP4V2_USE_STATIC_LIB)
target_compile_definitions(mp4v2 PRIVATE MP4V2_EXPORTS)
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
target_compile_options(mp4v2 PRIVATE -Wno-deprecated-declarations -Wno-invalid-source-encoding -Wno-tautological-pointer-compare)
endif()

#set(UTILITY_HEADERS
# util/impl.h)
Expand Down

0 comments on commit 339f1da

Please sign in to comment.