New CMake throws an error if you don't add this line.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 17 Mar 2008 23:11:15 +0000
changeset 494 9b66c53c1ed8
parent 493 2b3ca9e90396
child 495 16e08147c906
New CMake throws an error if you don't add this line.
src/CMakeLists.txt
--- a/src/CMakeLists.txt	Mon Mar 17 23:10:31 2008 +0000
+++ b/src/CMakeLists.txt	Mon Mar 17 23:11:15 2008 +0000
@@ -4,6 +4,8 @@
 # Please refer to LICENSE.txt in the root directory of the source
 #  distribution for licensing details.
 
+CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
+
 PROJECT(Toby)
 SET(TOBY_VERSION 0.1)