Commit ccb0a6c8 authored by Ben Boeckel's avatar Ben Boeckel

paraview: add Qt5 to the library search path

parent 8ec66ed4
......@@ -7,6 +7,11 @@ if (QT_LIBRARY_DIR)
"${QT_LIBRARY_DIR}")
endif ()
if (Qt5_DIR)
list(APPEND library_paths
"${Qt5_DIR}/../..")
endif ()
set(include_regexes)
if (fortran_enabled)
list(APPEND include_regexes
......
......@@ -28,6 +28,11 @@ if (QT_LIBRARY_DIR)
"${QT_LIBRARY_DIR}")
endif ()
if (Qt5_DIR)
list(APPEND library_paths
"${Qt5_DIR}/../../../bin")
endif ()
# Install paraview executables to bin.
foreach (executable IN LISTS paraview_executables)
if (DEFINED "${executable}_description")
......
Markdown is supported
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