Mercurial > hg > orthanc
view Resources/CMake/PugixmlConfiguration.cmake @ 2317:5b7556568fa4
Incoming C-Find request: removing group-length for all manufacturer -> removed EFilm2 manufacturer that is now useless
author | amazy |
---|---|
date | Thu, 13 Jul 2017 11:35:57 +0200 |
parents | 8b51b133bb8b |
children | 4900688827a8 |
line wrap: on
line source
if (USE_PUGIXML) add_definitions(-DORTHANC_ENABLE_PUGIXML=1) if (STATIC_BUILD OR NOT USE_SYSTEM_PUGIXML) set(PUGIXML_SOURCES_DIR ${CMAKE_BINARY_DIR}/pugixml-1.4) set(PUGIXML_MD5 "7c56c91cfe3ecdee248a8e4892ef5781") set(PUGIXML_URL "http://www.orthanc-server.com/downloads/third-party/pugixml-1.4.tar.gz") DownloadPackage(${PUGIXML_MD5} ${PUGIXML_URL} "${PUGIXML_SOURCES_DIR}") include_directories( ${PUGIXML_SOURCES_DIR}/src ) set(PUGIXML_SOURCES #${PUGIXML_SOURCES_DIR}/src/vlog_is_on.cc ${PUGIXML_SOURCES_DIR}/src/pugixml.cpp ) else() CHECK_INCLUDE_FILE_CXX(pugixml.hpp HAVE_PUGIXML_H) if (NOT HAVE_PUGIXML_H) message(FATAL_ERROR "Please install the libpugixml-dev package") endif() link_libraries(pugixml) endif() source_group(ThirdParty\\pugixml REGULAR_EXPRESSION ${PUGIXML_SOURCES_DIR}/.*) else() add_definitions(-DORTHANC_ENABLE_PUGIXML=0) endif()