Skip to content

Commit 98f1f08

Browse files
committed
CAM: Remove C++14 workaround for boost
1 parent 62f4024 commit 98f1f08

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/Mod/CAM/App/CMakeLists.txt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -124,20 +124,6 @@ if (FREECAD_WARN_ERROR)
124124
target_compile_warn_error(Path)
125125
endif()
126126

127-
# Boost >= 1.75.0
128-
if(NOT ${Boost_VERSION} LESS 107500)
129-
set_target_properties(Path PROPERTIES CXX_STANDARD_REQUIRED ON)
130-
set_target_properties(Path PROPERTIES CXX_STANDARD 14)
131-
132-
# Suppress -Wc++17-extensions when using OCCT 7.5 or newer
133-
if (MINGW AND CMAKE_COMPILER_IS_CLANGXX)
134-
unset(_flag_found CACHE)
135-
check_cxx_compiler_flag("-Wno-c++17-extensions" _flag_found)
136-
if (_flag_found)
137-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-c++17-extensions")
138-
endif()
139-
endif()
140-
endif()
141127

142128
if(FREECAD_USE_PCH)
143129
add_definitions(-D_PreComp_)

0 commit comments

Comments
 (0)