diff --git a/extlibs/libs-mingw/libfreetype.a b/extlibs/libs-mingw/libfreetype.a index fec79aca..fc4bd6c1 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 7df32921..fa36d1a9 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 6718796b..a5875218 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 17894504..00000000 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 2604d212..00000000 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 07966adc..332fb999 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")