Skip to content

Commit

Permalink
Merge pull request #47 from hopr-framework/bugfix.hdf5.build.shared
Browse files Browse the repository at this point in the history
Build and use shared version of the CGNS library
  • Loading branch information
pnizenkov authored Jul 5, 2023
2 parents 9c85fc7 + b8adf59 commit e393295
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeListsLib.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e393295

Please sign in to comment.