Explorar el Código

build: discover libsmartbotic-db-client via CMake config

fszontagh hace 2 meses
padre
commit
0fcfb279c2
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      cmake/FindPackages.cmake

+ 3 - 0
cmake/FindPackages.cmake

@@ -1,5 +1,8 @@
 # Find system packages
 
+# Upstream smartbotic-database client library — provides target smartbotic::db-client
+find_package(smartbotic-db-client CONFIG REQUIRED)
+
 # Required packages
 find_package(PkgConfig REQUIRED)
 find_package(Threads REQUIRED)