Skip to content

Commit 15e6b71

Browse files
committed
Revert use of ecal_helpers in serialization sub-project
1 parent 1b445f1 commit 15e6b71

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

serialization/capnproto/capnproto/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ find_package(CapnProto REQUIRED)
2121
##########################
2222
# Capnproto core communication extension
2323
##########################
24-
ecal_add_interface_library(capnproto_core)
24+
add_library(capnproto_core INTERFACE)
25+
add_library(eCAL::capnproto_core ALIAS capnproto_core)
2526

2627
target_link_libraries(capnproto_core
2728
INTERFACE

serialization/flatbuffers/flatbuffers/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ find_package(FlatBuffers REQUIRED)
2121
##########################
2222
# FlatBuffers core communication extension
2323
##########################
24-
ecal_add_interface_library(flatbuffers_core)
24+
add_library(flatbuffers_core INTERFACE)
25+
add_library(eCAL::flatbuffers_core ALIAS flatbuffers_core)
2526

2627
target_link_libraries(flatbuffers_core
2728
INTERFACE

serialization/protobuf/protobuf/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ target_link_libraries(protobuf_base PUBLIC protobuf::libprotobuf)
4646

4747
target_compile_features(protobuf_base PUBLIC cxx_std_14)
4848

49+
ecal_add_compiler_warnings(protobuf_base)
50+
4951
install(
5052
TARGETS protobuf_base
5153
EXPORT eCALCoreTargets
@@ -59,7 +61,8 @@ set_property(TARGET protobuf_base PROPERTY FOLDER core)
5961
##########################
6062
# Protobuf core communication extension
6163
##########################
62-
ecal_add_interface_library(protobuf_core)
64+
add_library(protobuf_core INTERFACE)
65+
add_library(eCAL::protobuf_core ALIAS protobuf_core)
6366

6467
target_link_libraries(protobuf_core
6568
INTERFACE

serialization/string/string/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323

2424
# std::string core communication extension
2525
##########################
26-
ecal_add_interface_library(string_base)
26+
add_library(string_base INTERFACE)
27+
add_library(eCAL::string_base ALIAS string_base)
2728

2829
target_sources(string_base
2930
INTERFACE
@@ -47,7 +48,8 @@ install(
4748
##########################
4849
# std::string core communication extension
4950
##########################
50-
ecal_add_interface_library(string_core)
51+
add_library(string_core INTERFACE)
52+
add_library(eCAL::string_core ALIAS string_core)
5153

5254
target_link_libraries(string_core
5355
INTERFACE

0 commit comments

Comments
 (0)