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
parent
a2e2f397c6
commit
9e0b52ec9a
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue