summaryrefslogtreecommitdiffstats
path: root/cmake/QtPlugins.cmake.in
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2020-01-10 10:55:45 +0100
committerLeander Beernaert <leander.beernaert@qt.io>2020-01-10 10:18:55 +0000
commit108393d33b9cbbe99a0d21fa71f30e9778cb9046 (patch)
tree5f363cdfcd9c6cecf7781275685f4e0c3046545a /cmake/QtPlugins.cmake.in
parentea81b69cde70316b5b5b161d8fb9bf904b229523 (diff)
Fix Generator Expression for static non-prefix builds
Change-Id: Icd32164943d7bb0639de3022bae749d0010674fc Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'cmake/QtPlugins.cmake.in')
-rw-r--r--cmake/QtPlugins.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtPlugins.cmake.in b/cmake/QtPlugins.cmake.in
index 692b5b1836..5e2352d6c1 100644
--- a/cmake/QtPlugins.cmake.in
+++ b/cmake/QtPlugins.cmake.in
@@ -28,7 +28,7 @@ if(NOT @BUILD_SHARED_LIBS@)
if (@QT_SUPERBUILD@)
set(_build_allow_plugin_link_rules_genex "$<NOT:$<STREQUAL:$<TARGET_PROPERTY:QT_BUILD_PROJECT_NAME>,@PROJECT_NAME@>>")
else()
- set(_build_allow_plugin_link_rules_genex TRUE)
+ set(_build_allow_plugin_link_rules_genex 1)
endif()
# The code in here uses the properties defined in qt_import_plugins (Qt6CoreMacros.cmake)