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