DynuIPRefresher/CMakeLists.txt

16 lines
341 B
CMake
Raw Normal View History

2019-05-05 16:50:10 +00:00
cmake_minimum_required(VERSION 3.7)
2019-05-01 09:14:52 +00:00
project(iprefresher)
2019-05-05 16:50:10 +00:00
set(CMAKE_CXX_STANDARD 11)
2019-05-01 09:14:52 +00:00
find_package(CURL REQUIRED)
include_directories(${CURL_INCLUDE_DIR})
2019-05-05 14:35:38 +00:00
set(SOURCE src/main.cpp src/API.h src/API.cpp src/Hashmap.h src/Logger.cpp src/Logger.h)
2019-05-05 13:38:48 +00:00
add_executable(iprefresher ${SOURCE})
2019-05-01 09:14:52 +00:00
2019-05-05 16:50:10 +00:00
target_link_libraries(iprefresher ${CURL_LIBRARIES})