[Orxonox-commit 3268] r7959 - code/branches/kicklib/cmake

rgrieder at orxonox.net rgrieder at orxonox.net
Fri Feb 25 03:06:23 CET 2011


Author: rgrieder
Date: 2011-02-25 03:06:23 +0100 (Fri, 25 Feb 2011)
New Revision: 7959

Modified:
   code/branches/kicklib/cmake/PackageConfig.cmake
Log:
Separate dependency package versioning for msvc and mingw.

Modified: code/branches/kicklib/cmake/PackageConfig.cmake
===================================================================
--- code/branches/kicklib/cmake/PackageConfig.cmake	2011-02-24 21:56:43 UTC (rev 7958)
+++ code/branches/kicklib/cmake/PackageConfig.cmake	2011-02-25 02:06:23 UTC (rev 7959)
@@ -30,7 +30,11 @@
 #        For example any code running on 3.0 should still run on 3.1
 #        But you can specify that the code only runs on 3.1 and higher
 #        or 4.0 and higher (so both 3.1 and 4.0 will work).
-SET(ALLOWED_MINIMUM_VERSIONS 3.1 4.0 5.0)
+IF(MSVC)
+  SET(ALLOWED_MINIMUM_VERSIONS 4.3 5.1 6.0)
+ELSE()
+  SET(ALLOWED_MINIMUM_VERSIONS 4.1 5.2)
+ENDIF()
 
 IF(NOT EXISTS ${DEPENDENCY_PACKAGE_DIR}/version.txt)
   SET(DEPENDENCY_VERSION 1.0)




More information about the Orxonox-commit mailing list