From 767ee72a49989a67838a21bde80b46485587eedd Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Tue, 1 Mar 2016 18:25:48 +0100 Subject: [PATCH] OpenCascade dependency in debian package --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a99c8c92..adf41aad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -359,6 +359,9 @@ if(UNIX) set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS}, libmetis5, openmpi-bin") set(CPACK_PACKAGE_NAME "${CPACK_PACKAGE_NAME}_mpi") endif(USE_MPI) + if(USE_OCC) + set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS}, liboce-ocaf8") + endif(USE_OCC) set(CPACK_DEBIAN_PACKAGE_SECTION Science) set(CPACK_DEBIAN_PACKAGE_NAME ${CPACK_PACKAGE_NAME}) set(CPACK_PACKAGE_FILE_NAME "netgen-${PACKAGE_VERSION}_${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}")