fix(src/CMakeLists.txt): debian deps for static and non-static builds

This commit is contained in:
Soonho Kong 2015-04-30 12:38:44 -04:00
parent e8d894473e
commit 018cbe9447

View file

@ -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)