diff options
Diffstat (limited to 'examples/remoteobjects/ssl/sslcppclient/CMakeLists.txt')
-rw-r--r-- | examples/remoteobjects/ssl/sslcppclient/CMakeLists.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/examples/remoteobjects/ssl/sslcppclient/CMakeLists.txt b/examples/remoteobjects/ssl/sslcppclient/CMakeLists.txt index 49e9d87..d6fbe8e 100644 --- a/examples/remoteobjects/ssl/sslcppclient/CMakeLists.txt +++ b/examples/remoteobjects/ssl/sslcppclient/CMakeLists.txt @@ -9,7 +9,11 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) -set(INSTALL_EXAMPLEDIR "examples/remoteobjects/ssl/sslcppclient") +if(NOT DEFINED INSTALL_EXAMPLESDIR) + set(INSTALL_EXAMPLESDIR "examples") +endif() + +set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/remoteobjects/ssl/sslcppclient") find_package(Qt6 COMPONENTS RemoteObjects) find_package(Qt6 COMPONENTS Core) @@ -17,14 +21,11 @@ find_package(Qt6 COMPONENTS Core) add_executable(SslCppClient main.cpp ) -target_link_libraries(SslCppClient PRIVATE - Qt::RemoteObjectsPrivate -) - target_link_libraries(SslCppClient PUBLIC # Remove: gui Qt::Core Qt::RemoteObjects + Qt::RemoteObjectsPrivate ) |