Skip to content

Commit

Permalink
Fix for Boost with C++20
Browse files Browse the repository at this point in the history
  • Loading branch information
berniev authored and wwmayer committed Sep 25, 2022
1 parent 198ce19 commit bd88f72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cMake/FreeCAD_Helpers/ConfigureCMakeVariables.cmake
Expand Up @@ -34,4 +34,7 @@ macro(ConfigureCMakeVariables)
message(STATUS "includedir: ${CMAKE_INSTALL_INCLUDEDIR}")
message(STATUS "libdir: ${CMAKE_INSTALL_LIBDIR}")
message(STATUS "cmake: ${CMAKE_VERSION}")

add_compile_definitions(BOOST_NO_CXX98_FUNCTION_BASE)

endmacro(ConfigureCMakeVariables)

0 comments on commit bd88f72

Please sign in to comment.