mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
fix .deb dependencies for ubuntu xenial
This commit is contained in:
parent
51fd3aa497
commit
e526085a86
@ -365,7 +365,11 @@ if(UNIX)
|
||||
set(CPACK_PACKAGE_NAME "${CPACK_PACKAGE_NAME}_mpi")
|
||||
endif(USE_MPI)
|
||||
if(USE_OCC)
|
||||
if("${UBUNTU_VERSION}" STREQUAL "xenial")
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS}, liboce-ocaf10")
|
||||
else()
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS}, liboce-ocaf8")
|
||||
endif()
|
||||
endif(USE_OCC)
|
||||
set(CPACK_DEBIAN_PACKAGE_SECTION Science)
|
||||
set(CPACK_DEBIAN_PACKAGE_NAME ${CPACK_PACKAGE_NAME})
|
||||
|
Loading…
Reference in New Issue
Block a user