ADD: added the use of a local build curlpp library
This commit is contained in:
@@ -33,23 +33,17 @@ ENDIF()
|
||||
set(YAML_CPP_INSTALL OFF CACHE INTERNAL "")
|
||||
add_subdirectory(libs/yaml-cpp EXCLUDE_FROM_ALL)
|
||||
ENDIF()
|
||||
# FIND_PACKAGE(yaml-cpp REQUIRED)
|
||||
|
||||
|
||||
IF (NOT TARGET curlcpp)
|
||||
IF (NOT TARGET curlpp)
|
||||
set(BUILD_SHARED_LIBS FALSE )
|
||||
add_subdirectory(libs/curlcpp EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(libs/curlpp EXCLUDE_FROM_ALL)
|
||||
ENDIF()
|
||||
|
||||
IF(NOT TARGET crossguid)
|
||||
set(CROSSGUID_TESTS OFF CACHE INTERNAL "")
|
||||
add_subdirectory(libs/crossguid EXCLUDE_FROM_ALL)
|
||||
ENDIF()
|
||||
# IF (NOT TARGET rest-client)
|
||||
# set(BUILD_SHARED_LIBS OFF CACHE BOOL "disable testing")
|
||||
# add_subdirectory(libs/rest-client EXCLUDE_FROM_ALL)
|
||||
# ENDIF()
|
||||
|
||||
|
||||
|
||||
# build with CC=clang-15 CXX=clang++-15 cmake -D CMAKE_BUILD_TYPE=DEBUG ..
|
||||
|
||||
@@ -73,7 +67,6 @@ ENDIF()
|
||||
target_link_libraries(kubecontrol
|
||||
crossguid
|
||||
yaml-cpp
|
||||
curl
|
||||
curlpp
|
||||
loguru
|
||||
nlohmann_json
|
||||
|
||||
Reference in New Issue
Block a user