Skip to content

Commit

Permalink
CMske: move define 'BOOST_NO_CXX98_FUNCTION_BASE' to CompilerChecksAn…
Browse files Browse the repository at this point in the history
…dSetups macro and support CMake < 3.12
  • Loading branch information
wwmayer committed Sep 25, 2022
1 parent bd88f72 commit 608fb15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions cMake/FreeCAD_Helpers/CompilerChecksAndSetups.cmake
Expand Up @@ -100,4 +100,7 @@ macro(CompilerChecksAndSetups)
add_definitions(-DBOOST_PP_VARIADICS=1)
message(STATUS "Force BOOST_PP_VARIADICS=1 for clang")
endif()

add_definitions(-DBOOST_NO_CXX98_FUNCTION_BASE)

endmacro(CompilerChecksAndSetups)
3 changes: 0 additions & 3 deletions cMake/FreeCAD_Helpers/ConfigureCMakeVariables.cmake
Expand Up @@ -34,7 +34,4 @@ 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 608fb15

Please sign in to comment.