Skip to content

Commit

Permalink
Added CXX17 flag to reimplement binary_function. (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfarrens authored Nov 8, 2023
1 parent 2b3097c commit cf121ac
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 @@ -126,7 +126,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

# Set CXX compilation flags
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${BigMac_NOWARN} -DNO_DISP_IO -w -Wno-everything")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${BigMac_NOWARN} -DNO_DISP_IO -w -Wno-everything -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION")
if(USE_FFTW)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUSE_FFTW")
endif()
Expand Down

0 comments on commit cf121ac

Please sign in to comment.