Skip to content

Commit

Permalink
add mingw dependencies/include to include path
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rkitover committed Oct 23, 2018
1 parent 9cb9ce8 commit 26b15b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion dependencies

0 comments on commit 26b15b2

Please sign in to comment.