Bump minimum CMake version requirement

This commit is contained in:
Andrew Nelless 2017-02-10 12:37:20 +00:00
parent f7b87e0670
commit 91f27a13a5
1 changed files with 2 additions and 2 deletions

View File

@ -14,11 +14,11 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
cmake_minimum_required(VERSION 3.4)
# Version number for Synergy # Version number for Synergy
set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV}") set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REV}")
cmake_minimum_required(VERSION 2.6)
# CMake complains if we don't have this. # CMake complains if we don't have this.
if (COMMAND cmake_policy) if (COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW) cmake_policy(SET CMP0003 NEW)