# Create the PUGIXML library add_library(PUGIXML STATIC include/pugiconfig.hpp include/pugixml.hpp pugixml.cpp ) # Configure include folders target_include_directories(PUGIXML PRIVATE ${CMAKE_CURRENT_LIST_DIR}) target_include_directories(PUGIXML PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include) # Configure macro options target_compile_definitions(PUGIXML PRIVATE PUGIXML_HAS_LONG_LONG=1) if (WIN32) target_compile_definitions(nlohmann_json PRIVATE _WIN32_WINNT=0x0601) endif()