Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion rts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,12 @@ make_global_var(engineSources
${sources_engine_ExternalAI}
)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/lib/assimp/include) #FIXME: hack for rts/Rendering/Models/IModelParser.cpp
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/lib/simdjson/include)
# On macOS, locating DevIL via Homebrew pulls /opt/homebrew/include onto the
# global include path, where a transitively-installed Homebrew simdjson.h can
# shadow our vendored, version-matched copy and break the build (newer simdjson
# trips an AppleClang macro collision). Prepend so <simdjson.h> always resolves
# to the in-tree version on every platform.
include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/lib/simdjson/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/lib/fastgltf/include)

### Add headers for generated project files (e.g. Code::Blocks)
Expand Down
Loading