From 1375c3a2588170619e0106a1084025331bd8df8a Mon Sep 17 00:00:00 2001 From: lukas-heiligenbrunner Date: Fri, 10 May 2019 21:37:08 +0200 Subject: [PATCH] added make install function to cmake file --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae086f0..8a0e887 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,6 @@ set(SOURCE ) add_executable(iprefresher ${SOURCE}) +target_link_libraries(iprefresher ${CURL_LIBRARIES}) - - -target_link_libraries(iprefresher ${CURL_LIBRARIES}) \ No newline at end of file +install (TARGETS iprefresher DESTINATION bin)