edoren / STP

SFML TMX Parser -
edoren.github.io/STP
Other
30 stars 13 forks source link

-DSFML_ROOT is overriden in extlibs #28

Closed Nopey closed 7 years ago

Nopey commented 7 years ago

I'm using -DSFML_ROOT to point my dependancies (STP included) at my unusual SFML install location. Adding cache to either SFML_DIR or SFML_ROOT allows the user (via cmake-gui, or with arguments) to override the default.

Nopey commented 7 years ago

Note that the CACHE symbol should probably also be added to PUGIXML and ZLIB. Will be making a pr tomorrow afternoon, but heres a quick example of CACHE syntax: set(SFML_DIR "${DEPENDENCIES_DIR}/SFML" CACHE PATH "Path to SFML's Root. Should contain a folder named include, and lib.")

edoren commented 7 years ago

Closed by #29