duckscraper/CMakeLists.txt

25 lines
503 B
CMake

cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
project(scraper CXX)
add_subdirectory(lib/tidy)
find_package(LibXML++ REQUIRED)
find_package(LibXml2 REQUIRED)
#find_package(CURL REQUIRED)
#${CURL_INCLUDE_DIR}
#${CURL_LIBRARIES}
include_directories(SYSTEM
lib/tidy/include
${LibXML++_INCLUDE_DIRS}
)
add_executable(${PROJECT_NAME}
src/main.cpp
)
target_link_libraries(${PROJECT_NAME}
tidy
${LibXML++_LIBRARIES}
)