diff --git a/extlibs/libs-mingw/libfreetype.a b/extlibs/libs-mingw/libfreetype.a index fec79aca5..fc4bd6c11 100644 Binary files a/extlibs/libs-mingw/libfreetype.a and b/extlibs/libs-mingw/libfreetype.a differ diff --git a/extlibs/libs-mingw/libglew.a b/extlibs/libs-mingw/libglew.a index 7df32921b..fa36d1a9e 100644 Binary files a/extlibs/libs-mingw/libglew.a and b/extlibs/libs-mingw/libglew.a differ diff --git a/extlibs/libs-mingw/libjpeg.a b/extlibs/libs-mingw/libjpeg.a index 6718796b9..a5875218c 100644 Binary files a/extlibs/libs-mingw/libjpeg.a and b/extlibs/libs-mingw/libjpeg.a differ diff --git a/extlibs/libs-mingw/libopenal32.a b/extlibs/libs-mingw/libopenal32.a deleted file mode 100644 index 178945047..000000000 Binary files a/extlibs/libs-mingw/libopenal32.a and /dev/null differ diff --git a/extlibs/libs-mingw/libsndfile.a b/extlibs/libs-mingw/libsndfile.a deleted file mode 100644 index 2604d2128..000000000 Binary files a/extlibs/libs-mingw/libsndfile.a and /dev/null differ diff --git a/src/SFML/CMakeLists.txt b/src/SFML/CMakeLists.txt index 07966adc9..332fb999c 100644 --- a/src/SFML/CMakeLists.txt +++ b/src/SFML/CMakeLists.txt @@ -7,6 +7,11 @@ if (WINDOWS) set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "${CMAKE_SOURCE_DIR}/extlibs/headers") if(COMPILER_GCC) set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} "${CMAKE_SOURCE_DIR}/extlibs/libs-mingw") + if(ARCH_32BITS) + set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} "${CMAKE_SOURCE_DIR}/extlibs/bin/x86") + else() + set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} "${CMAKE_SOURCE_DIR}/extlibs/bin/x64") + endif() elseif(COMPILER_MSVC) if(ARCH_32BITS) set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} "${CMAKE_SOURCE_DIR}/extlibs/libs-msvc/x86")