Skip to content

Commit 1acbbfc

Browse files
lobisccaffy
authored andcommitted
CMake: improve grpc objects as dependency (related to https://gitlab.cern.ch/dss/eos/-/merge_requests/351)
1 parent 1101892 commit 1acbbfc

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

common/CMakeLists.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,7 @@ if (NOT CLIENT AND Linux)
278278
ioMonitor/src/IoAggregate.cc
279279
)
280280

281-
# This is a bit of a hack to allow compilation of the `eos` target without having to build the `EosCliGrpc-Objects` target beforehand.
282-
# We should address this better by improving the CMake dependencies so this is not needed.
283-
# Related PR: https://gitlab.cern.ch/dss/eos/-/merge_requests/351
284-
if(TARGET eos)
285-
add_dependencies(EosCommonServer-Objects EosCliGrpc-Objects)
286-
endif ()
281+
add_dependencies(EosCommonServer-Objects EosGrpcProto-Objects)
287282

288283
target_link_libraries(EosCommonServer-Objects PUBLIC
289284
qclient

0 commit comments

Comments
 (0)