CMake: Don't use PUBLIC_LIBRARIES for executables
Change-Id: I5648fbed3542395e65f86e35825b1b50f824133e Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
4720735103
commit
fcd64a4981
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user