Skip to content

Commit

Permalink
Merge pull request #15 from dspace-group/Fixed-build-for-clang
Browse files Browse the repository at this point in the history
Fixed build for clang
  • Loading branch information
ACanisLupus authored Sep 17, 2024
2 parents 7d903db + f5c562b commit 0652d0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ if(MSVC)
string(REGEX REPLACE "/W3" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
add_compile_options(/Zi /external:anglebrackets /external:W0)
else()
add_compile_options(-Wall -Wextra -pedantic -Wno-stringop-overflow)
add_compile_options(-Wall -Wextra -pedantic)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
add_compile_options(-Wno-stringop-overflow)
endif()
endif()

set(DSVEOSCOSIM_TYPE STATIC)
Expand Down

0 comments on commit 0652d0d

Please sign in to comment.