Adds latest migration results
This commit is contained in:
829 files changed
+35074
-70886
No files matched your search
@@ -9,19 +9,34 @@
|
||||
# Created by Mike Wille, NLE, 2020-01-20
|
||||
#
|
||||
|
||||
# Make ${Qt6_WebSockets} optional
|
||||
# Note: Qt6::WebSockets stub target exists but doesn't have real implementation
|
||||
# Check for actual QtWebSockets installation by looking for the config file
|
||||
if(QT6_GUI_AVAILABLE AND EXISTS "${Qt6Core_INSTALL_PREFIX}/lib/cmake/Qt6WebSockets/Qt6WebSocketsConfig.cmake")
|
||||
find_package(Qt6WebSockets QUIET)
|
||||
set(EEMFakeServer_ENABLED TRUE)
|
||||
else()
|
||||
set(Qt6_WebSockets "")
|
||||
set(EEMFakeServer_ENABLED FALSE)
|
||||
message(WARNING "QtWebSockets not available - EEMFakeServer will not be built")
|
||||
endif()
|
||||
|
||||
|
||||
SET(EEMFakeServer_SRCS
|
||||
main.cpp
|
||||
Server.cpp
|
||||
Server.h
|
||||
)
|
||||
|
||||
NGL_ADD_EXECUTABLE(TOOLSSV NO_TRANSLATION EEMFakeServer ${EEMFakeServer_SRCS})
|
||||
NGL_TARGET_LINK_LIBRARIES(EEMFakeServer
|
||||
PUBLIC
|
||||
Qt6::Core
|
||||
Qt6::WebSockets
|
||||
)
|
||||
if(EEMFakeServer_ENABLED)
|
||||
NGL_ADD_EXECUTABLE(TOOLSSV NO_TRANSLATION EEMFakeServer ${EEMFakeServer_SRCS})
|
||||
NGL_TARGET_LINK_LIBRARIES(EEMFakeServer
|
||||
PUBLIC
|
||||
Qt6::Core
|
||||
${Qt6_WebSockets}
|
||||
)
|
||||
|
||||
IF(NOT BUILD_RPM)
|
||||
NGL_INSTALL_TARGET(EEMFakeServer)
|
||||
ENDIF()
|
||||
IF(NOT BUILD_RPM)
|
||||
NGL_INSTALL_TARGET(EEMFakeServer)
|
||||
ENDIF()
|
||||
endif()
|
||||
Reference in new issue
Block a user