Fix build of binary package
authorRoland Schulz <roland@utk.edu>
Fri, 25 Jul 2014 22:36:17 +0000 (18:36 -0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Mon, 28 Jul 2014 17:28:17 +0000 (19:28 +0200)
commitcaad87a3617b2156f408609fab27c4f93917f919
treede8505390c25cf657798dd4ebaf4f654786d7b3c
parent74db407d063330ee65dd53bfa363add776f1a744
Fix build of binary package

Commit a00437 accidentally changed that the source-package error is also
printed for binary packages. Because it defined
CPACK_SOURCE_PACKAGE_FILE_NAME which we used to detect source-package.
This now uses CPACK_INSTALL_CMAKE_PROJECTS which is hopefully future-proof.
It also adds a proper warning for binary packages.

Change-Id: I842655755bed1c448f30db435a85ad1ca5844a60
CMakeLists.txt
CPackInit.cmake