Commit 59bdcfb3 authored by Mark Olesen's avatar Mark Olesen

ENH: improve installation handling

- uses updated cmake/paraview scripts (1912, patch=200506)
  to support a user-specified installation prefix.

  Reworked the wmake Make/{files,options} files to respect the use
  of CMAKE_INSTALL_PREFIX, or default to FOAM_LIBBIN.

  Similarly the CMakeLists files have been updated to add install
  targets that respect the value of CMAKE_INSTALL_PREFIX.

  For building with paraview-5.7 and 5.8 a "staged" install is used
  to retain the expected output directory structure and to silently
  discard the unneeded static libraries.
parent 556d0a76
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
targetType=libso
. ${WM_PROJECT_DIR:?}/wmake/scripts/wmake.cmake-args
. ${WM_PROJECT_DIR:?}/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
module=visualization
......
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
targetType=libso
. ${WM_PROJECT_DIR:?}/wmake/scripts/wmake.cmake-args
. ${WM_PROJECT_DIR:?}/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
......
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/wmake/scripts/cmakeFunctions # The cmake functions
export WM_CONTINUE_ON_ERROR=true # Optional unit
. ${WM_PROJECT_DIR:?}/wmake/scripts/cmakeFunctions # Cmake functions
. ${WM_PROJECT_DIR:?}/wmake/scripts/wmake.cmake-args
. ${WM_PROJECT_DIR:?}/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
# Copyright (C) 2020 OpenCFD Ltd.
# This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
#
# Note
# - use '-prefix=..' to define installation prefix (default: FOAM_LIBBIN)
# - MPI detection may not work properly with later VTK/ParaView versions
#------------------------------------------------------------------------------
# Installation prefix: user/group/other or custom
case "$1" in
-prefix=u) prefix="${FOAM_USER_LIBBIN%/*}" ;; # user
-prefix=g) prefix="${FOAM_SITE_LIBBIN%/*}" ;; # group
-prefix=o) prefix="${FOAM_LIBBIN%/*}" ;; # other/openfoam
-prefix=*) prefix="${1#*=}" ;;
esac
# Default is openfoam (FOAM_LIBBIN)
: "${prefix:=$WM_PROJECT_DIR/platforms/$WM_OPTIONS}"
: "${CMAKE_INSTALL_PREFIX:=${FOAM_LIBBIN%/*}}"
cmakeOpts="-DCMAKE_INSTALL_PREFIX=$prefix"
unset cmakeOpts
if [ -n "$CMAKE_INSTALL_PREFIX" ]
then
export CMAKE_INSTALL_PREFIX
cmakeOpts="-DCMAKE_INSTALL_PREFIX=$CMAKE_INSTALL_PREFIX"
fi
#------------------------------------------------------------------------------
......@@ -22,7 +29,15 @@ echo "======================================================================"
echo "${PWD##*/} : $PWD"
echo
unset depend
unset depend catalystDebug
# If available, prefer use of ParaView MESA
if [ -d "$ParaView_MESA_DIR" ]
then
export ParaView_DIR="$ParaView_MESA_DIR"
fi
if [ -d "$ParaView_DIR" ]
then
depend="ParaView_DIR=$ParaView_DIR"
......@@ -36,8 +51,8 @@ elif [ -n "$depend" ]
then
if command -v cmake >/dev/null
then
echo "catalyst prefix : $prefix"
cmakeVersionedInstall "$depend" "$PWD" "$cmakeOpts" || {
echo "catalyst prefix : $CMAKE_INSTALL_PREFIX"
cmakeVersionedInstall "$depend" "$PWD" $cmakeOpts || {
echo
echo " WARNING: incomplete build of ParaView Catalyst"
echo
......
......@@ -12,6 +12,9 @@ else()
set(WM_OSTYPE "POSIX")
endif()
# Project libraries, as per wmake internals
set(FOAM_LIBBIN "$ENV{FOAM_LIBBIN}")
# Convenience name, as per wmake internals
set(LIB_SRC "$ENV{WM_PROJECT_DIR}/src")
......
#------------------------------------------------------------------------------
project(catalyst)
set(CMAKE_BUILD_TYPE Release)
# ----------------------------------------------------------------------
unset(LINK_LIBRARIES)
# Prior to paraview-5.6 no working directory support in Catalyst
......@@ -13,16 +8,21 @@ if (${ParaView_VERSION} LESS 5.6)
endif()
if (${ParaView_VERSION} VERSION_GREATER_EQUAL 5.7)
if (TARGET "VTK::ParallelMPI")
if (TARGET VTK::ParallelMPI)
set(FOAM_USING_VTK_MPI TRUE)
endif()
if (TARGET ParaView::PythonCatalyst)
message("has catalyst")
else()
message("no catalyst")
endif()
endif()
# ----------------------------------------------------------------------
link_directories(
$ENV{FOAM_LIBBIN}
$ENV{FOAM_LIBBIN}/dummy
${FOAM_LIBBIN}
${FOAM_LIBBIN}/dummy
)
include_directories(
......@@ -61,7 +61,7 @@ file(GLOB SOURCE_FILES
volMesh/foamVtkFvMeshAdaptorFields.C
)
set(OPENFOAM_LIBRARIES
set(OPENFOAM_LIBNAMES
OpenFOAM
Pstream
finiteArea
......@@ -90,7 +90,7 @@ target_link_libraries(
catalystFoam
${VTK_LIBRARIES}
${LINK_LIBRARIES}
${OPENFOAM_LIBRARIES}
${OPENFOAM_LIBNAMES}
)
install(TARGETS catalystFoam DESTINATION lib)
......
#------------------------------------------------------------------------------
project(catalyst)
cmake_minimum_required(VERSION 3.8)
cmake_policy(SET CMP0002 NEW) # For cmake >= 3
cmake_policy(SET CMP0057 NEW) # For cmake >= 3.10.2
set(CMAKE_BUILD_TYPE Release)
# Fail if not building out-of-source
if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR)
......@@ -38,6 +41,8 @@ else()
## include(${PARAVIEW_USE_FILE})
endif()
include(GNUInstallDirs)
#-----------------------------------------------------------------------------
message("================")
......@@ -46,12 +51,20 @@ message("Using ParaView = $ENV{ParaView_DIR}")
if (NOT PARAVIEW_USE_MPI)
message(WARNING "==== Recommended to build using ParaView Catalyst with MPI ====")
endif()
message("install prefix = ${CMAKE_INSTALL_PREFIX}")
message("================")
#-----------------------------------------------------------------------------
include(CMakeLists-OpenFOAM.txt)
# Default is PROJECT target, with supporting libraries from FOAM_LIBBIN
# Possible temporary override with 'STAGED_INSTALL_PREFIX' later
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
get_filename_component(FOAM_PLATFORMS ${FOAM_LIBBIN} DIRECTORY)
set(CMAKE_INSTALL_PREFIX "${FOAM_PLATFORMS}"
CACHE PATH "Install path prefix" FORCE)
endif()
message("Install prefix = ${CMAKE_INSTALL_PREFIX}")
message("================")
include(CMakeLists-Project.txt)
#-----------------------------------------------------------------------------
......@@ -14,7 +14,7 @@ wclean libso foamReader/library
# Cleanup client-server and/or combined plugins
if [ -d "$FOAM_PV_PLUGIN_LIBBIN" ]
then
echo "Remaining plugins: $FOAM_PV_PLUGIN_LIBBIN"
echo "Remaining plugins? : $FOAM_PV_PLUGIN_LIBBIN"
# rm -rf "$FOAM_PV_PLUGIN_LIBBIN"
fi
......
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
export WM_CONTINUE_ON_ERROR=true # Optional unit
. ${WM_PROJECT_DIR:?}/wmake/scripts/AllwmakeParseArguments
. ${WM_PROJECT_DIR:?}/wmake/scripts/paraviewFunctions # CMake, PV functions
. ${WM_PROJECT_DIR:?}/wmake/scripts/wmake.cmake-args
. ${WM_PROJECT_DIR:?}/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
# Copyright (C) 2020 OpenCFD Ltd.
# This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
#
# Note
# For paraview-5.7 (and later?) plugins are built into their own subdirs.
# - use '-prefix=..' to define installation prefix (default: FOAM_LIBBIN)
#
# Note
# For paraview-5.7 (and later) plugins are built into their own subdirs.
# It also is not possible to suppress creation of static libraries in the
# process.
#
# Current solution (ugly)
# - install into a local "staged" location (within the build directory)
# - use rsync to relocate to the .so files to the plugin directory
# - copy the .so files to the plugin directory
#
#------------------------------------------------------------------------------
# Default is openfoam (FOAM_LIBBIN)
: "${CMAKE_INSTALL_PREFIX:=${FOAM_LIBBIN%/*}}"
unset cmakeOpts
if [ -n "$CMAKE_INSTALL_PREFIX" ]
then
export CMAKE_INSTALL_PREFIX
cmakeOpts="-DCMAKE_INSTALL_PREFIX=$CMAKE_INSTALL_PREFIX"
fi
#------------------------------------------------------------------------------
warnIncomplete()
......@@ -24,69 +41,82 @@ warnIncomplete()
echo
}
if have_pvplugin_support
have_pvplugin_support || {
exit 0 # Optional
}
wmakeLibPv common $cmakeOpts
wmakeLibPv blockMeshReader/library $cmakeOpts
wmakeLibPv foamReader/library $cmakeOpts
# Early exit for objects
if [ "$targetType" = objects ]
then
(
wmakeLibPv common
wmakeLibPv blockMeshReader/library
wmakeLibPv foamReader/library
exit 0
fi
unset cmakeOpts cmakeType
unset installDir
if [ "$targetType" != objects ]
then
case "$PARAVIEW_API" in
(5.[0-6])
cmakeType="cmakePv"
# Still not entirely convincing
case "$PARAVIEW_API" in
(5.[0-6])
unset stagingDir # Not needed
;;
(*)
if installDir=$(findObjectDir '.')
(*)
if stagingDir=$(findObjectDir '.')
then
installDir="$installDir/install-prefix"
stagingDir="$stagingDir/install-prefix"
# Require an absolute directory for CMake
if [ "${installDir#/}" = "$installDir" ]
# Need absolute directory for CMake
if [ "${stagingDir#/}" = "$stagingDir" ]
then
installDir="$PWD/$installDir"
stagingDir="$PWD/$stagingDir"
fi
cmakeOpts="$cmakeOpts -DSTAGED_INSTALL_PREFIX=$installDir"
cmakeType="cmakePvInstall"
else
cmakeType="cmakePv" # cmakeType="cmakePvInstall"
fi
;;
esac
fi
esac
rm -rf "$installDir"
if [ -n "$stagingDir" ]
then
rm -rf -- "$stagingDir"
cmakeOpts="$cmakeOpts -DSTAGED_INSTALL_PREFIX=$stagingDir"
fi
if [ -n "$cmakeType" ]
then
"$cmakeType" "$PWD"/blockMeshReader "$cmakeOpts" || warnIncomplete "blockMesh"
"$cmakeType" "$PWD"/foamReader "$cmakeOpts" || warnIncomplete "OpenFOAM"
fi
if [ -d "$installDir" ]
then
[ -d "$FOAM_PV_PLUGIN_LIBBIN" ] || mkdir -p "$FOAM_PV_PLUGIN_LIBBIN"
for plugin in blockMeshReader foamReader
do
cmakePvInstall "$PWD"/"$plugin" "$cmakeOpts" || \
warnIncomplete "$plugin"
done
pluginDir="$FOAM_PV_PLUGIN_LIBBIN"
if [ -n "$CMAKE_INSTALL_PREFIX" ] && [ -n "$PARAVIEW_API" ]
then
pluginDir="${CMAKE_INSTALL_PREFIX}/lib/paraview-${PARAVIEW_API}"
fi
# Copy from staging to plugins
if [ -d "$stagingDir" ] && [ -n "$pluginDir" ]
then
[ -d "$pluginDir" ] || mkdir -p "$pluginDir"
echo
echo "Copy plugins: $pluginDir"
# TODO: handle via targets via CMake
for dir in "$installDir/lib" "$installDir/lib64"
for dir in "$stagingDir/lib" "$stagingDir/lib64"
do
if [ -d "$dir" ]
then
echo
for libName in $(find "$dir" -name '*.so')
do
echo "Plugin: ${FOAM_PV_PLUGIN_LIBBIN##*/}/${libName##*/}"
rsync -a "$libName" "$FOAM_PV_PLUGIN_LIBBIN"
echo " ${pluginDir##*/}/${libName##*/}"
cp -p "$libName" "$pluginDir"
done
fi
done
fi
)
fi
#------------------------------------------------------------------------------
......@@ -12,6 +12,9 @@ else()
set(WM_OSTYPE "POSIX")
endif()
# Project libraries, as per wmake internals
set(FOAM_LIBBIN "$ENV{FOAM_LIBBIN}")
# Convenience name, as per wmake internals
set(LIB_SRC "$ENV{WM_PROJECT_DIR}/src")
......
#-----------------------------------------------------------------------------
# OpenFOAM blockMeshDict reader plugin for ParaView GUI (pre-5.7)
set(CMAKE_BUILD_TYPE Release)
# Predefined values from CMakeLists-library.txt
link_directories(${OPENFOAM_LINK_DIRS})
include_directories(${OPENFOAM_INCLUDE_DIRS})
link_directories(
$ENV{FOAM_LIBBIN}
)
include_directories(
${LIB_SRC}/OpenFOAM/include
${LIB_SRC}/OpenFOAM/lnInclude
${LIB_SRC}/OSspecific/${WM_OSTYPE}/lnInclude
${LIB_SRC}/meshing/blockMesh/lnInclude
${PROJECT_SOURCE_DIR}/../common
${PROJECT_SOURCE_DIR}/library
${PROJECT_SOURCE_DIR}/plugin
${PROJECT_SOURCE_DIR}/plugin/reader
)
set(OPENFOAM_LIBNAMES
OpenFOAM
blockMesh
)
# Set output library destination to plugin directory
set(
LIBRARY_OUTPUT_PATH $ENV{FOAM_PV_PLUGIN_LIBBIN}
CACHE INTERNAL
"Single output directory for building all libraries."
)
# NOTE: do not use CMAKE_INSTALL_LIBDIR here
# OpenFOAM uses lib (not lib64, or lib/multi-arch)
qt5_wrap_cpp(MOC_SRCS plugin/pqFoamBlockMeshControls.h)
......@@ -39,7 +17,7 @@ add_paraview_property_group_widget(IFACES0 IFACES0_SRCS
)
add_paraview_plugin(
ParaFoamBlockReader "${foam_api}"
${CMAKE_PROJECT_NAME} "${foam_api}"
SERVER_MANAGER_XML
plugin/ParaFoamBlockReader.xml
SERVER_MANAGER_SOURCES
......@@ -53,11 +31,29 @@ add_paraview_plugin(
)
target_link_libraries(
ParaFoamBlockReader
${CMAKE_PROJECT_NAME}
LINK_PUBLIC
vtkPVFoamCommon${foamPvLibQualifier}
vtkPVblockReader${foamPvLibQualifier}
${OPENFOAM_LIBNAMES}
${SUPPORTING_LIBNAMES}
)
set(PLUGIN_DIRNAME "paraview-${pv_api}")
# Compile directly into plugin directories
## # Set output library destination to plugin directory
## set(
## LIBRARY_OUTPUT_DIRECTORY $ENV{FOAM_PV_PLUGIN_LIBBIN}
## CACHE INTERNAL
## "Single output directory for building all libraries."
## )
##
## set_target_properties(
## ${CMAKE_PROJECT_NAME}
## PROPERTIES
## LIBRARY_OUTPUT_DIRECTORY "$ENV{FOAM_PV_PLUGIN_LIBBIN}"
## )
# Use install target
install(TARGETS ${CMAKE_PROJECT_NAME} DESTINATION "lib/${PLUGIN_DIRNAME}")
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# OpenFOAM blockMeshDict reader plugin for ParaView GUI (5.7+)
set(CMAKE_BUILD_TYPE Release)
cmake_minimum_required(VERSION 3.8)
project(ParaFoamBlockReader)
find_package(ParaView REQUIRED)
include(GNUInstallDirs)
# Currently use a hack to stage the installation (2020-04-29)
if (STAGED_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "${STAGED_INSTALL_PREFIX}")
## message("use staged install: ${STAGED_INSTALL_PREFIX}")
else()
set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}")
message("Staged prefix = ${CMAKE_INSTALL_PREFIX}")
endif()
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_INSTALL_BINDIR}")
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}")
#-----------------------------------------------------------------------------
# Don't use CMAKE_INSTALL_LIBDIR here
# OpenFOAM uses lib (not lib64, or lib/multi-arch)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/bin")
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/lib")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/lib")
####
set(PARAVIEW_PLUGIN_ENABLE_ParaFoamBlockReader TRUE)
......@@ -25,7 +25,9 @@ set("_paraview_plugin_default_${CMAKE_PROJECT_NAME}" ON)
paraview_plugin_scan(
PLUGIN_FILES "${CMAKE_CURRENT_SOURCE_DIR}/plugin/paraview.plugin"
PROVIDES_PLUGINS plugins
REQUIRES_MODULES required_modules)
ENABLE_BY_DEFAULT ON
REQUIRES_MODULES required_modules
)
foreach(module IN LISTS required_modules)
if(NOT TARGET "${module}")
......@@ -35,12 +37,14 @@ foreach(module IN LISTS required_modules)
endforeach()
# Install under <platform>/<arch>/lib, not lib64
# Don't want static libraries, include files...
paraview_plugin_build(
PLUGINS ${plugins}
AUTOLOAD ${plugins}
RUNTIME_DESTINATION "${CMAKE_INSTALL_BINDIR}"
LIBRARY_DESTINATION "${CMAKE_INSTALL_LIBDIR}"
LIBRARY_SUBDIRECTORY "${PARAVIEW_PLUGIN_SUBDIR}"
)
## RUNTIME_DESTINATION "${CMAKE_INSTALL_BINDIR}"
## LIBRARY_DESTINATION "${CMAKE_INSTALL_LIBDIR}"
## LIBRARY_SUBDIRECTORY "${PARAVIEW_PLUGIN_SUBDIR}"
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# OpenFOAM blockMeshDict reader plugin - library dependencies
set(OPENFOAM_LINK_DIRS
${FOAM_LIBBIN}
${SUPPORTING_LIBBIN}
)
set(OPENFOAM_INCLUDE_DIRS
${LIB_SRC}/OpenFOAM/include
${LIB_SRC}/OpenFOAM/lnInclude
${LIB_SRC}/OSspecific/${WM_OSTYPE}/lnInclude
${LIB_SRC}/meshing/blockMesh/lnInclude
${PROJECT_SOURCE_DIR}/../common
${PROJECT_SOURCE_DIR}/library
${PROJECT_SOURCE_DIR}/plugin
${PROJECT_SOURCE_DIR}/plugin/reader
)
# OpenFOAM libraries (from FOAM_LIBBIN)
set(OPENFOAM_LIBNAMES
OpenFOAM
blockMesh
)
# Supporting libraries (from FOAM_LIBBIN, or installed-dir/lib)
set(SUPPORTING_LIBNAMES
vtkPVFoamCommon${foamPvLibQualifier}
vtkPVblockReader${foamPvLibQualifier}
)
#-----------------------------------------------------------------------------
#------------------------------------------------------------------------------
project(ParaFoamBlockReader)
cmake_minimum_required(VERSION 3.8)
cmake_policy(SET CMP0002 NEW) # For cmake >= 3
cmake_policy(SET CMP0057 NEW) # For cmake >= 3.10.2
set(CMAKE_BUILD_TYPE Release)
# Fail if not building out-of-source
if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR)
......@@ -40,15 +43,37 @@ endif()
set(foamPvLibQualifier "-pv${pv_api}")
include(GNUInstallDirs)
#-----------------------------------------------------------------------------
message("================")
message("Using ParaView = $ENV{ParaView_DIR}")
message("OpenFOAM api = ${foam_api}, libs = ${foamPvLibQualifier}")
#DEBUG get_cmake_property(_variableNames VARIABLES)
#DEBUG foreach (_variableName ${_variableNames})
#DEBUG message(STATUS "${_variableName}=${${_variableName}}")
#DEBUG endforeach()
#-----------------------------------------------------------------------------
include(CMakeLists-OpenFOAM.txt)
include(CMakeLists-library.txt)
# Default is PROJECT target, with supporting libraries from FOAM_LIBBIN
# Possible temporary override with 'STAGED_INSTALL_PREFIX' later
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
get_filename_component(FOAM_PLATFORMS ${FOAM_LIBBIN} DIRECTORY)
set(CMAKE_INSTALL_PREFIX "${FOAM_PLATFORMS}"
CACHE PATH "Install path prefix"
FORCE)
set(SUPPORTING_LIBBIN "${FOAM_LIBBIN}")
else()
set(SUPPORTING_LIBBIN "${CMAKE_INSTALL_PREFIX}/lib")
endif()
message("Install prefix = ${CMAKE_INSTALL_PREFIX}")
if (${ParaView_VERSION} VERSION_GREATER_EQUAL 5.7)
message("================")
......
vtkPVblockMesh.C
vtkPVblockMeshConvert.C
LIB = $(FOAM_LIBBIN)/libvtkPVblockReader-pv${PARAVIEW_API}
LIB = $(CMAKE_INSTALL_PREFIX)/lib/libvtkPVblockReader-pv${PARAVIEW_API}
/* Default is PROJECT target */
ifeq (,$(CMAKE_INSTALL_PREFIX))
CMAKE_INSTALL_PREFIX := $(dir $(FOAM_LIBBIN))
endif
EXE_INC = \
${c++LESSWARN} \
-I$(LIB_SRC)/fileFormats/lnInclude \
......@@ -12,5 +17,5 @@ EXE_INC = \
LIB_LIBS = \
-lmeshTools \
-lblockMesh \
-L$(FOAM_LIBBIN) -lvtkPVFoamCommon-pv${PARAVIEW_API} \
-L$(CMAKE_INSTALL_PREFIX)/lib -lvtkPVFoamCommon-pv${PARAVIEW_API} \
$(GLIBS)
......@@ -12,6 +12,7 @@ paraview_plugin_add_property_widget(
set(BUILD_SHARED_LIBS_BACKUP ${BUILD_SHARED_LIBS})
set(BUILD_SHARED_LIBS ON)
paraview_add_plugin(ParaFoamBlockReader
VERSION "${foam_api}"
UI_INTERFACES
......@@ -27,6 +28,8 @@ paraview_add_plugin(ParaFoamBlockReader
set(BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS_BACKUP})
target_link_libraries(ParaFoamBlockReader
PUBLIC ParaView::pqApplicationComponents)
PUBLIC
ParaView::pqApplicationComponents
)
#-----------------------------------------------------------------------------
......@@ -5,8 +5,5 @@ DESCRIPTION
CONDITION
PARAVIEW_BUILD_QT_GUI