diff options
author | Kai Köhne <kai.koehne@qt.io> | 2022-11-21 12:03:41 +0100 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2022-11-30 14:48:50 +0100 |
commit | a5de12f0d7dfef64453b7b29c33dc760b3cacec4 (patch) | |
tree | c55549f8c325eb0a3a3eb09c5ac76a31d763fdbd /examples/dbus/remotecontrolledcar | |
parent | d221ea609fdd9f5dc99f520391beddc057373278 (diff) |
Examples: Use PRIVATE CMake linkage
We (almost) only build apps, for which PRIVATE linkage makes more sense.
Change-Id: I09a509c3fb33a00cdfdede687b3f95d638f42091
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/dbus/remotecontrolledcar')
-rw-r--r-- | examples/dbus/remotecontrolledcar/car/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/dbus/remotecontrolledcar/controller/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/dbus/remotecontrolledcar/car/CMakeLists.txt b/examples/dbus/remotecontrolledcar/car/CMakeLists.txt index 653d907434..650f8b14d2 100644 --- a/examples/dbus/remotecontrolledcar/car/CMakeLists.txt +++ b/examples/dbus/remotecontrolledcar/car/CMakeLists.txt @@ -35,7 +35,7 @@ set_target_properties(car PROPERTIES MACOSX_BUNDLE TRUE ) -target_link_libraries(car PUBLIC +target_link_libraries(car PRIVATE Qt6::Core Qt6::DBus Qt6::Gui diff --git a/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt b/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt index 0d46f00b32..2b2e8916b4 100644 --- a/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt +++ b/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt @@ -33,7 +33,7 @@ set_target_properties(controller PROPERTIES MACOSX_BUNDLE TRUE ) -target_link_libraries(controller PUBLIC +target_link_libraries(controller PRIVATE Qt6::Core Qt6::DBus Qt6::Gui |