From 26b15b2c1e0bae686904d30271c3595bf8d90d89 Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Tue, 23 Oct 2018 16:32:34 -0700 Subject: [PATCH] add mingw dependencies/include to include path Older versions of mingw64 do not have the versionhelpers.h header, add it to the dependencies submodule include/ directory and add it to include_directories() for mingw in cmake. --- CMakeLists.txt | 1 + dependencies | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cf745f98..091a8dd4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -344,6 +344,7 @@ if(WIN32) endif() if(MINGW) + include_directories("${CMAKE_SOURCE_DIR}/dependencies/include") include_directories("${CMAKE_SOURCE_DIR}/dependencies/mingw-xaudio/include") elseif(MSVC) set(DEPS_MSVC "${CMAKE_SOURCE_DIR}/dependencies/msvc") diff --git a/dependencies b/dependencies index 33a0af67..993a407b 160000 --- a/dependencies +++ b/dependencies @@ -1 +1 @@ -Subproject commit 33a0af6701313fed2219029a069c712740233a77 +Subproject commit 993a407b1456f209efd05d3a11af8d56cb1d845b