diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6567d8e5a611e7b96ba67746b8298f81bb12d406..0104e4f3be4ca7de3413de19ca4ccbf6f28f127a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -178,12 +178,9 @@ target_include_directories(caosdb PUBLIC
     $<INSTALL_INTERFACE:include>
 )
 
-
-
-
 # libccaosdb
 # ----------
-add_library(ccaosdb SHARED src/ccaosdb.cpp ${GRPC_GENERATED})
+add_library(ccaosdb SHARED src/ccaosdb.cpp)
 target_link_libraries(ccaosdb
     gRPC::grpc gRPC::grpc++ protobuf::libprotobuf ${Boost_LIBRARIES}
     ${LIBCAOSDB}