fix(src/CMakeLists.txt): debian deps for static and non-static builds
This commit is contained in:
parent
e8d894473e
commit
018cbe9447
1 changed files with 5 additions and 1 deletions
|
@ -479,7 +479,11 @@ else()
|
|||
SET(CPACK_GENERATOR ZIP)
|
||||
endif()
|
||||
# CPack -- Debian
|
||||
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "python")
|
||||
if(STATIC)
|
||||
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "python")
|
||||
else()
|
||||
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libstdc++-4.8-dev,libgmp-dev,libmpfr-dev,liblua5.2-dev,python")
|
||||
endif()
|
||||
SET(CPACK_DEBIAN_PACKAGE_DESCRIPTION "Lean Theorem Prover")
|
||||
SET(CPACK_DEBIAN_PACKAGE_SECTION "devel")
|
||||
include(CPack)
|
||||
|
|
Loading…
Reference in a new issue