diff options
author | Alexandru Croitor <[email protected]> | 2022-07-28 12:04:25 +0200 |
---|---|---|
committer | Alexandru Croitor <[email protected]> | 2022-07-28 14:58:42 +0200 |
commit | a5ceeb755d79422125b378a9b610fb34212038a8 (patch) | |
tree | 9cc55e455e990fb04475d2ed2bb11e09bcb57dbc | |
parent | c16570ea568c95e1c1b869a57c9f20ee932a98af (diff) |
CMake: Fix removal of PUBLIC_LIBRARIES from QmlTypeRegistrarPrivate
It should have been removed from the tool instead.
Amends eed7b3f4e7fe53d3a8c92a0413e42a14a80e34bc
Change-Id: I7a5eb7b402f0f371c6390b58fe2422c165746f4d
Reviewed-by: Alexey Edelev <[email protected]>
-rw-r--r-- | src/qmltyperegistrar/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tools/qmltyperegistrar/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qmltyperegistrar/CMakeLists.txt b/src/qmltyperegistrar/CMakeLists.txt index e7bca836fb..85b53ddc56 100644 --- a/src/qmltyperegistrar/CMakeLists.txt +++ b/src/qmltyperegistrar/CMakeLists.txt @@ -17,7 +17,7 @@ qt_internal_add_module(QmlTypeRegistrarPrivate DEFINES QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII - LIBRARIES + PUBLIC_LIBRARIES Qt::CorePrivate GENERATE_CPP_EXPORTS GENERATE_PRIVATE_CPP_EXPORTS diff --git a/tools/qmltyperegistrar/CMakeLists.txt b/tools/qmltyperegistrar/CMakeLists.txt index c713bce4e4..af51da39fa 100644 --- a/tools/qmltyperegistrar/CMakeLists.txt +++ b/tools/qmltyperegistrar/CMakeLists.txt @@ -15,7 +15,7 @@ qt_internal_add_tool(${target_name} DEFINES QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII - PUBLIC_LIBRARIES + LIBRARIES Qt::Core Qt::QmlTypeRegistrarPrivate ) |