summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-09-06 11:42:17 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2019-09-06 09:45:59 +0000
commitb28c2c952850e80cc399dbba8a627a96789ffec9 (patch)
tree524c476a691fc43ee10775cf2cbd171b73ae91bc /cmake
parent6c00d9075e19c949e6cf5b401fc4e42784fd5bf0 (diff)
Fix unnecessary find_package calls for shared builds, part 2
Fix the silly boolean logic error in commit 9c1b7802d7f118b55ccc04dab74e1ee19e6d429f. Change-Id: I9dd0d3e8be5cbe75583099686a623d81d3dd87fc Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtPostProcess.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtPostProcess.cmake b/cmake/QtPostProcess.cmake
index 880e73e869..f0286b25f6 100644
--- a/cmake/QtPostProcess.cmake
+++ b/cmake/QtPostProcess.cmake
@@ -269,7 +269,7 @@ endfunction()
function(qt_internal_create_plugins_files)
# The plugins cmake configuration is only needed for static builds. Dynamic builds don't need
# the application to link against plugins at build time.
- if(NOT QT_BUILD_SHARED_LIBS)
+ if(QT_BUILD_SHARED_LIBS)
return()
endif()
qt_internal_get_qt_repo_known_modules(repo_known_modules)