[Orxonox-commit 3377] r8064 - code/branches/kicklib/cmake

rgrieder at orxonox.net rgrieder at orxonox.net
Sat Mar 12 21:29:27 CET 2011


Author: rgrieder
Date: 2011-03-12 21:29:26 +0100 (Sat, 12 Mar 2011)
New Revision: 8064

Modified:
   code/branches/kicklib/cmake/PackageConfig.cmake
Log:
Also find POCO for MinGW (required for Ogre).

Modified: code/branches/kicklib/cmake/PackageConfig.cmake
===================================================================
--- code/branches/kicklib/cmake/PackageConfig.cmake	2011-03-12 20:08:34 UTC (rev 8063)
+++ code/branches/kicklib/cmake/PackageConfig.cmake	2011-03-12 20:29:26 UTC (rev 8064)
@@ -76,8 +76,8 @@
 
 # Ogre versions >= 1.7 require the POCO library on Windows with MSVC for threading
 COMPARE_VERSION_STRINGS(${DEPENDENCY_VERSION} 5 _result TRUE)
-IF(NOT _result EQUAL -1 AND NOT MINGW)
-    SET(POCO_REQUIRED TRUE)
+IF(NOT _result EQUAL -1 AND NOT APPLE)
+  SET(POCO_REQUIRED TRUE)
 ENDIF()
 
 # Include paths and other special treatments




More information about the Orxonox-commit mailing list