mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-15 14:09:06 +00:00
build: tinyxml2 needs module path set (like sdl2)
This commit is contained in:
parent
b86133f3e9
commit
3bcbc30697
1 changed files with 1 additions and 0 deletions
|
@ -227,6 +227,7 @@ endif (NOT OPENAL_FOUND)
|
||||||
|
|
||||||
OPTION(AQUARIA_INTERNAL_TINYXML2 "Always use included TinyXML2 library" ${WIN32_TRUE})
|
OPTION(AQUARIA_INTERNAL_TINYXML2 "Always use included TinyXML2 library" ${WIN32_TRUE})
|
||||||
if(NOT AQUARIA_INTERNAL_TINYXML2)
|
if(NOT AQUARIA_INTERNAL_TINYXML2)
|
||||||
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
|
||||||
find_package(TinyXML2)
|
find_package(TinyXML2)
|
||||||
endif(NOT AQUARIA_INTERNAL_TINYXML2)
|
endif(NOT AQUARIA_INTERNAL_TINYXML2)
|
||||||
if (AQUARIA_INTERNAL_TINYXML2 OR NOT TINYXML2_FOUND)
|
if (AQUARIA_INTERNAL_TINYXML2 OR NOT TINYXML2_FOUND)
|
||||||
|
|
Loading…
Reference in a new issue