Skip to content
Snippets Groups Projects

Add vcpkg support

Merged Joscha Schmiedt requested to merge f-test-vcpkg into dev
All threads resolved!
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
+ 4
4
@@ -169,7 +169,7 @@ if("${CMAKE_BUILD_TYPE}" MATCHES "Debug")
add_library(caosdb_grpc SHARED ${GRPC_GENERATED})
target_link_libraries(caosdb_grpc
gRPC::grpc protobuf::libprotobuf ${Boost_LIBRARIES}
gRPC::grpc gRPC::grpc++ protobuf::libprotobuf ${Boost_LIBRARIES}
)
target_include_directories(caosdb_grpc PUBLIC
$<BUILD_INTERFACE:${PROJECT_INCLUDE_DIR}>
@@ -180,7 +180,7 @@ if("${CMAKE_BUILD_TYPE}" MATCHES "Debug")
add_library(caosdb SHARED ${libcaosdb_INCL} ${libcaosdb_SRC})
target_link_libraries(caosdb
caosdb_grpc gRPC::grpc protobuf::libprotobuf ${Boost_LIBRARIES}
caosdb_grpc gRPC::grpc gRPC::grpc++ protobuf::libprotobuf ${Boost_LIBRARIES}
)
set(LIBCAOSDB caosdb caosdb_grpc)
@@ -188,7 +188,7 @@ else()
add_library(caosdb
SHARED ${libcaosdb_INCL} ${libcaosdb_SRC} ${GRPC_GENERATED})
target_link_libraries(caosdb
gRPC::grpc protobuf::libprotobuf ${Boost_LIBRARIES}
gRPC::grpc gRPC::grpc++ protobuf::libprotobuf ${Boost_LIBRARIES}
stdc++fs
)
set(LIBCAOSDB caosdb)
@@ -209,7 +209,7 @@ target_include_directories(caosdb PUBLIC
# ----------
add_library(ccaosdb SHARED src/ccaosdb.cpp)
target_link_libraries(ccaosdb
gRPC::grpc protobuf::libprotobuf ${Boost_LIBRARIES}
gRPC::grpc gRPC::grpc++ protobuf::libprotobuf ${Boost_LIBRARIES}
${LIBCAOSDB}
stdc++fs
)
Loading