Update CMakeLists.txt

This commit is contained in:
Lukas-Heiligenbrunner 2019-10-27 18:26:36 +01:00 committed by GitHub
parent d65d80c3a8
commit 6dc22f6e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_BUILD_TYPE Release) # manually set build type (Release / Debug) set(CMAKE_BUILD_TYPE Release) # manually set build type (Release / Debug)
set(LIB_METHOD STATIC) #SHARED / STATIC set(LIB_METHOD STATIC) #SHARED / STATIC
set(WinBuild true) set(WinBuild false)
set(PROJECT_VERSION 1.2.1) set(PROJECT_VERSION 1.2.1)
option(BUILD_DOC "Build documentation" ON) option(BUILD_DOC "Build documentation" ON)
@ -91,7 +91,7 @@ set(SOURCE
add_executable(iprefresher ${SOURCE}) add_executable(iprefresher ${SOURCE})
# LINK generated LIBS # # LINK generated LIBS #
target_link_libraries(iprefresher api logger /usr/x86_64-w64-mingw32/sys-root/mingw/bin/) target_link_libraries(iprefresher api logger ${CURL_LIBRARIES})
# INSTALL to SYSTEM # # INSTALL to SYSTEM #
install(TARGETS iprefresher DESTINATION bin) install(TARGETS iprefresher DESTINATION bin)