diff options
author | Brett Stottlemyer <bstottle@ford.com> | 2020-06-16 07:59:48 -0400 |
---|---|---|
committer | Brett Stottlemyer <bstottle@ford.com> | 2020-06-29 10:48:37 -0400 |
commit | cf3573d3d6e4153f8639ac59da71e03bfb19bc23 (patch) | |
tree | 6f1ded97b1f21ae509deb705f1c4d56da2f09545 /examples/remoteobjects/ssl/sslcppclient | |
parent | 40481e5600f3a3866f7b8b19f48a8e5954fbcb70 (diff) |
Update via run_pro2cmake.py
... and address special cases
Change-Id: I2ceb88e9505c59fe48dd4612cfed82935eb2dfc4
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/remoteobjects/ssl/sslcppclient')
-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 ) |