From b28c2c952850e80cc399dbba8a627a96789ffec9 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 6 Sep 2019 11:42:17 +0200 Subject: [PATCH] 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 --- cmake/QtPostProcess.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)