Update CMakeLists.txt
This commit is contained in:
parent
d65d80c3a8
commit
6dc22f6e38
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user