From ac3abd7bb3bbe87f339d194a58d046b48fc92bca Mon Sep 17 00:00:00 2001 From: wowzaman12 Date: Mon, 18 May 2015 03:05:58 +0000 Subject: [PATCH] so that xaudio2 can be enabled --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 212b76be..b119e26b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -182,8 +182,8 @@ SET( CMAKE_C_FLAGS_DEBUG "-g -Wall") SET( CMAKE_CXX_FLAGS_DEBUG "-g -Wall") if (MINGW) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static-libgcc -static") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++ -static") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static-libgcc -static -I../dependencies/include") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++ -static -I../dependencies/include") endif (MINGW)