File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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} >" )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments