diff --git a/src/tools/androiddeployqt/CMakeLists.txt b/src/tools/androiddeployqt/CMakeLists.txt index da4c524456..0a270105e4 100644 --- a/src/tools/androiddeployqt/CMakeLists.txt +++ b/src/tools/androiddeployqt/CMakeLists.txt @@ -14,7 +14,7 @@ qt_internal_add_tool(${target_name} QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII QT_NO_FOREACH - PUBLIC_LIBRARIES + LIBRARIES Qt::Core # special case INCLUDE_DIRECTORIES ../shared diff --git a/src/tools/qdbuscpp2xml/CMakeLists.txt b/src/tools/qdbuscpp2xml/CMakeLists.txt index eba1dad884..34a3f1811b 100644 --- a/src/tools/qdbuscpp2xml/CMakeLists.txt +++ b/src/tools/qdbuscpp2xml/CMakeLists.txt @@ -26,7 +26,7 @@ qt_internal_add_tool(${target_name} INCLUDE_DIRECTORIES ../moc ../moc/../../3rdparty/tinycbor/src - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::DBusPrivate # COMPILE_OPTIONS # special case diff --git a/src/tools/qdbusxml2cpp/CMakeLists.txt b/src/tools/qdbusxml2cpp/CMakeLists.txt index 45795952b4..610b9df997 100644 --- a/src/tools/qdbusxml2cpp/CMakeLists.txt +++ b/src/tools/qdbusxml2cpp/CMakeLists.txt @@ -13,7 +13,7 @@ qt_internal_add_tool(${target_name} DEFINES QT_NO_CAST_FROM_ASCII QT_NO_FOREACH - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::DBusPrivate # COMPILE_OPTIONS # special case diff --git a/src/tools/qlalr/CMakeLists.txt b/src/tools/qlalr/CMakeLists.txt index 6feb2f9100..dbad8bef9b 100644 --- a/src/tools/qlalr/CMakeLists.txt +++ b/src/tools/qlalr/CMakeLists.txt @@ -20,7 +20,7 @@ qt_internal_add_tool(${target_name} recognizer.cpp recognizer.h DEFINES QT_NO_FOREACH - PUBLIC_LIBRARIES + LIBRARIES Qt::Core # special case ) qt_internal_return_unless_building_tools() diff --git a/src/tools/qvkgen/CMakeLists.txt b/src/tools/qvkgen/CMakeLists.txt index 239dfb8c91..99a08661c6 100644 --- a/src/tools/qvkgen/CMakeLists.txt +++ b/src/tools/qvkgen/CMakeLists.txt @@ -11,7 +11,7 @@ qt_internal_add_tool(${target_name} TOOLS_TARGET Gui # special case SOURCES qvkgen.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Core # special case ) qt_internal_return_unless_building_tools()