Skip to content

Commit

Permalink
Merge pull request #96 from SylvainCorlay/mtune-generic
Browse files Browse the repository at this point in the history
mtune generic is not valid for ppc
  • Loading branch information
SylvainCorlay committed Nov 26, 2020
2 parents 3426233 + c9a4b26 commit 72e0c09
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,7 @@ target_compile_features(xleaflet PRIVATE cxx_std_14)

if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Intel")
target_compile_options(xleaflet PUBLIC -Wunused-parameter -Wextra -Wreorder)
if (DISABLE_ARCH_NATIVE)
target_compile_options(xleaflet PUBLIC -mtune=generic)
else()
if (NOT DISABLE_ARCH_NATIVE)
target_compile_options(xleaflet PUBLIC -march=native)
endif()

Expand Down

0 comments on commit 72e0c09

Please sign in to comment.