CMake: remove mingw64_gcc49
authorCampbell Barton <ideasman42@gmail.com>
Tue, 5 Jan 2016 12:35:14 +0000 (23:35 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 5 Jan 2016 12:35:14 +0000 (23:35 +1100)
Not supported or in working state.

CMakeLists.txt

index a4206c30a63103fe70badc1118e42c0b3fda10ec..193ac4872287ed6fe2a1807c0d70fad0ad6259f9 100644 (file)
@@ -1619,12 +1619,7 @@ elseif(WIN32)
                
                if(WITH_MINGW64)
                        message(STATUS "Compiling for 64 bit with MinGW-w64.")
-                       execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
-                       if(GCC_VERSION VERSION_GREATER 4.9 OR GCC_VERSION VERSION_EQUAL 4.9)
-                               set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/mingw64_gcc49)
-                       else()
-                               set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/mingw64)
-                       endif()
+                       set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/mingw64)
                else()
                        message(STATUS "Compiling for 32 bit with MinGW-w32.")
                        set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/mingw32)