From a888a44623e8ba7f1a3c00ace0ee49e6a6629b40 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Fri, 18 Sep 2015 04:52:48 +0000 Subject: [PATCH] build: drop redundant check for bundled tinyxml2 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 95f5a6e..fcb221e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -230,11 +230,11 @@ 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) +if(NOT TINYXML2_FOUND) message(STATUS "Using internal copy of TinyXML2") set(TINYXML2_INCLUDE_DIR "${EXTLIBDIR}") set(TINYXML2_SRCS "${EXTLIBDIR}/tinyxml2.cpp") -endif (AQUARIA_INTERNAL_TINYXML2 OR NOT TINYXML2_FOUND) +endif(NOT TINYXML2_FOUND) ################ End of external libraries