From b8adf59ee19dde40d07d245f6d5571b9c673efda Mon Sep 17 00:00:00 2001 From: Patrick Kopper Date: Wed, 5 Jul 2023 10:57:19 +0200 Subject: [PATCH] Build shared version of the CGNS library --- CMakeListsLib.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeListsLib.txt b/CMakeListsLib.txt index c4f8817..74bec3a 100644 --- a/CMakeListsLib.txt +++ b/CMakeListsLib.txt @@ -496,10 +496,7 @@ ELSE() GIT_PROGRESS TRUE ${${GITSHALLOW}} PREFIX ${LIBS_CGNS_DIR} - CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${LIBS_CGNS_DIR} -DCMAKE_PREFIX_PATH=${LIBS_HDF5_DIR} / - -DCGNS_ENABLE_FORTRAN=ON -DCGNS_ENABLE_64BIT=${LIBS_CGNS_64BIT} -DCGNS_BUILD_SHARED=OFF -DCGNS_USE_SHARED=OFF / - -DCMAKE_BUILD_TYPE=Release -DCGNS_BUILD_CGNSTOOLS=OFF -DCGNS_ENABLE_HDF5=${LIBS_BUILD_CGNS_ENABLE_HDF5} / - -DCGNS_ENABLE_PARALLEL=OFF -DCGNS_ENABLE_TESTS=OFF -DCMAKE_SKIP_RPATH=ON + CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${LIBS_CGNS_DIR} -DCMAKE_PREFIX_PATH=${LIBS_HDF5_DIR} -DCGNS_ENABLE_FORTRAN=ON -DCGNS_ENABLE_64BIT=${LIBS_CGNS_64BIT} -DCGNS_BUILD_SHARED=ON -DCGNS_USE_SHARED=ON -DCMAKE_BUILD_TYPE=Release -DCGNS_BUILD_CGNSTOOLS=OFF -DCGNS_ENABLE_HDF5=${LIBS_BUILD_CGNS_ENABLE_HDF5} -DCGNS_ENABLE_PARALLEL=OFF -DCGNS_ENABLE_TESTS=OFF -DCMAKE_SKIP_RPATH=ON BUILD_BYPRODUCTS ${LIBS_CGNS_DIR}/lib/libcgns.a ) # If HDF5 is built in HOPR, it must occur before the CGNS compilation (for the support of HDF5-based CGNS files)