From d41bfa981d0ea0a69297dfd933323de851b2a547 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 10 Apr 2024 23:30:32 +0200 Subject: [PATCH] CMakeLists.txt: Adjust CMake option in QT_IMPORTS_DIR detection code. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index afdfaa2..dfeeed3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -184,7 +184,7 @@ if(quickflux_INSTALL) DESTINATION ${CONFIG_PACKAGE_LOCATION} ) - if(quickflux_BUILD_SHARED) + if(BUILD_SHARED_LIBS) # Qt5's cmake does not export QT_IMPORTS_DIR, lets query qmake on our own for now get_target_property(QMAKE_EXECUTABLE Qt5::qmake LOCATION) function(QUERY_QMAKE VAR RESULT)