From 3bcbc30697474cc32962856b6642ae0f6a17c8cc Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Fri, 18 Sep 2015 04:49:32 +0000 Subject: [PATCH] build: tinyxml2 needs module path set (like sdl2) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 07dca08..95f5a6e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -227,6 +227,7 @@ endif (NOT OPENAL_FOUND) OPTION(AQUARIA_INTERNAL_TINYXML2 "Always use included TinyXML2 library" ${WIN32_TRUE}) if(NOT AQUARIA_INTERNAL_TINYXML2) + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") find_package(TinyXML2) endif(NOT AQUARIA_INTERNAL_TINYXML2) if (AQUARIA_INTERNAL_TINYXML2 OR NOT TINYXML2_FOUND)