File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,6 @@ macro(CompilerChecksAndSetups)
99
1010 # ================================================================================
1111
12- # Needed for boost1.69
13- # Avoid that Python (pyerrors.h) defines snprintf and vsnprintf
14- if (MSVC AND NOT MSVC_VERSION VERSION_LESS 1900)
15- add_definitions (-DHAVE_SNPRINTF )
16- elseif (MINGW)
17- add_definitions (-DHAVE_SNPRINTF )
18- endif ()
19-
2012 # Allow developers to use Boost < 1.74
2113 if (NOT BOOST_MIN_VERSION)
2214 set (BOOST_MIN_VERSION 1.74)
@@ -97,9 +89,7 @@ macro(CompilerChecksAndSetups)
9789 #
9890 # https://en.wikipedia.org/wiki/Xcode#Latest_versions
9991 if (APPLE )
100- if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.0)
101- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-undefined-var-template" )
102- endif ()
92+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-undefined-var-template" )
10393 add_definitions (-DGL_SILENCE_DEPRECATION )
10494 elseif (UNIX )
10595 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-undefined-var-template" )
You can’t perform that action at this time.
0 commit comments