SSBMTonberry / tileson

A modern and helpful cross-platform json-parser for C++, used for parsing Tiled maps.
BSD 2-Clause "Simplified" License
193 stars 30 forks source link

Avoid including external_libs folder for library #95

Closed Laguna1989 closed 1 year ago

Laguna1989 commented 1 year ago

CMakeLists.txt always includes the external_libs folder. This folder contains sfml and imgui - both in old versions.

imgui and sfml are not mandatory for the core tileson functionality, but can cause issues in downstream projects. E.g. if the downstream project will use a different versions of imgui or sfml, includes can potentially clash.

Thus the external_libs folder should only be included when tileson examples or tests are explicitly requested.