src/ takes precedence over contrib/

src/lua/Lua.h and contrib/lua/lua.h were conflicting on case-insensitive
filesystems like Windows and OSX (with non-portable include path support)
Ideally we want contrib/lua to have a different name, as we include lua
via #include <lua.hpp> and not #include <lua/lua.hpp>
master
Webster Sheets 2020-02-28 00:09:13 -05:00
parent a2e2f397c6
commit 9e0b52ec9a
1 changed files with 3 additions and 3 deletions

View File

@ -217,8 +217,8 @@ find_package(OpenGL REQUIRED)
add_subdirectory(contrib/lz4)
include_directories(
${CMAKE_SOURCE_DIR}/contrib
${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/contrib
${ASSIMP_INCLUDE_DIRS}
${FREETYPE_INCLUDE_DIRS}
${OPENGL_INCLUDE_DIRS}