Skip to content

Commit

Permalink
set C flag (not Fortran flag)
Browse files Browse the repository at this point in the history
  • Loading branch information
benbovy committed Nov 7, 2024
1 parent 8041ad4 commit 6692ee8
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 @@ -75,7 +75,7 @@ if(NOT SKBUILD)
else()
# https://github.com/numpy/numpy/issues/25869 ?
# (seems problematic only on MacOS Mx)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -Wno-error=incompatible-function-pointer-types")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=incompatible-function-pointer-types")
endif()

# override flags for old-school F77 files
Expand Down

0 comments on commit 6692ee8

Please sign in to comment.