Browse Source

Windows: work around a boost 1.70 and cmake SNAFU

Boost got upgraded to 1.70.0 in MSYS2. As a result, cmake (v3.13.4 as of this commit) can not configure boost properly, and cmake configuration fails as a result. This is a workaround as per https://gitlab.kitware.com/cmake/cmake/issues/18865
iDunk5400 4 months ago
parent
commit
0f52fe4c9c
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      CMakeLists.txt

+ 1
- 0
CMakeLists.txt View File

@@ -878,6 +878,7 @@ set(OLD_LIB_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
878 878
 if(STATIC)
879 879
   if(MINGW)
880 880
     set(CMAKE_FIND_LIBRARY_SUFFIXES .a)
881
+    set(Boost_NO_BOOST_CMAKE ON)
881 882
   endif()
882 883
 
883 884
   set(Boost_USE_STATIC_LIBS ON)

Loading…
Cancel
Save