Skip to content

Commit 8f0b43a

Browse files
author
Mohamed, Belhadi
committed
Merge remote-tracking branch 'cube/main'
2 parents fa1610a + 8e94161 commit 8f0b43a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Extend QB's capabilities with our official modules:
147147

148148
### Network & Communication
149149
- **[qbm-http](https://github.com/isndev/qbm-http)** - HTTP/1.1 & HTTP/2 client/server with routing, middleware, authentication
150-
- **[qbm-ws](https://github.com/isndev/qbm-ws)** - WebSocket protocol implementation (RFC 6455 compliant)
150+
- **[qbm-websocket](https://github.com/isndev/qbm-websocket)** - WebSocket protocol implementation (RFC 6455 compliant)
151151

152152
### Database Integration
153153
- **[qbm-pgsql](https://github.com/isndev/qbm-pgsql)** - Asynchronous PostgreSQL client with prepared statements and transactions

cmake/utils.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ function(qb_register_module)
309309
cmake_parse_arguments(Module "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
310310

311311
if (Module_NAME)
312+
set(Alias_NAME "qbm::${Module_NAME}")
312313
set(Module_NAME "qbm-${Module_NAME}")
313314
message(STATUS "Load ${Module_NAME} Module")
314315
if (NOT Module_FLAGS)
@@ -325,6 +326,7 @@ function(qb_register_module)
325326
cxx_library_with_type(INTERFACE
326327
NAME ${Module_NAME})
327328
endif ()
329+
add_library(${Alias_NAME} ALIAS ${Module_NAME})
328330
target_include_directories(${Module_NAME} INTERFACE
329331
"$<BUILD_INTERFACE:${QB_DIRECTORY}/include;${QB_DIRECTORY}/modules;${CMAKE_SOURCE_DIR}/modules;${CMAKE_CURRENT_SOURCE_DIR}/..>"
330332
"$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/${CMAKE_INSTALL_INCLUDEDIR}>")

0 commit comments

Comments
 (0)