Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Utkarsh Ayachit
ParaView-Superbuild
Commits
0486bdbd
Commit
0486bdbd
authored
Nov 27, 2018
by
Chuck Atkins
Browse files
paraview: Apply upstream !2869 if using the 5.6.0 release tarball
parent
8b12c5db
Changes
2
Hide whitespace changes
Inline
Side-by-side
projects/paraview.cmake
View file @
0486bdbd
...
...
@@ -253,6 +253,11 @@ if (paraview_SOURCE_SELECTION STREQUAL "5.5.0")
"Fix issue with building VTK's mpi4py"
)
endif
()
if
(
paraview_SOURCE_SELECTION STREQUAL
"5.6.0"
)
superbuild_apply_patch
(
paraview fix-catalyst-adapter-deps
"Fix issue with catalyst adapters and dependency search"
)
endif
()
if
(
WIN32 AND las_enabled
)
superbuild_append_flags
(
cxx_flags
"-DBOOST_ALL_NO_LIB"
PROJECT_ONLY
)
endif
()
...
...
projects/patches/paraview-fix-catalyst-adapter-deps.cmake
0 → 100644
View file @
0486bdbd
commit 561f6f534804a9b088b293feb847857c7c551b5a
Author: Robert Maynard <robert.maynard@kitware.com>
Date: Tue Nov 20 16:53:14 2018 -0500
ParaView propagates CMAKE_PREFIX_PATH to Catalyst Adaptors.
Fixes
#18224
ParaView uses add_custom_command to build all the catalyst adaptors.
This means that any package find calls that occur when including
ParaView's Config Module need to be part of the search path for
the adaptor.
The easiest way is to make sure that CMAKE_PREFIX_PATH is propagated
through add_custom_command as it is the most common way of specifying
where to search.
Note: That as more projects move over to import targets this approach
will continue to fail especially if they specify the search directories
using `<Package>_ROOT`. Long term the catalyst adaptors will need to
become an external project or stop using add_custom_command.
diff --git a/CoProcessing/Adaptors/BuildAdaptors.cmake b/CoProcessing/Adaptors/BuildAdaptors.cmake
index 82ddbe95af..9291893398 100644
--- a/CoProcessing/Adaptors/BuildAdaptors.cmake
+++ b/CoProcessing/Adaptors/BuildAdaptors.cmake
@@ -70,6 +70,7 @@
function
(
build_adaptor name languages
)
-DCMAKE_CXX_FLAGS:STRING=
${
CMAKE_CXX_FLAGS
}
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY:PATH=
${
CMAKE_LIBRARY_OUTPUT_DIRECTORY
}
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY:PATH=
${
CMAKE_RUNTIME_OUTPUT_DIRECTORY
}
+ -DCMAKE_PREFIX_PATH:STRING=
${
CMAKE_PREFIX_PATH
}
${
language_options
}
${
extra_params
}
--no-warn-unused-cli
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment