Skip to content

Commit

Permalink
CMakeLists.txt: Adjust CMake option in QT_IMPORTS_DIR detection code.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunweaver committed Apr 10, 2024
1 parent b48f6d0 commit d41bfa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d41bfa9

Please sign in to comment.