Commit 14d4ebb2 authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot
Browse files

Merge topic 'qt5-package-info-apple-win'

2fa02ac4

 cmake: export Qt5_DIR on Windows and macOS
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Dan Lipsa's avatarDan Lipsa <dan.lipsa@kitware.com>
Merge-request: !719
parents 99a2985e 2fa02ac4
......@@ -227,7 +227,7 @@ function (superbuild_add_packaging)
endif ()
list(GET generators 0 default_generator)
if (USE_SYSTEM_qt5)
if (qt5_enabled AND (USE_SYSTEM_qt5 OR APPLE OR WIN32))
list(APPEND superbuild_export_variables
Qt5_DIR)
find_package(Qt5 QUIET REQUIRED COMPONENTS Core)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment