[Orxonox-commit 3667] r8350 - code/branches/kicklib2/cmake

rgrieder at orxonox.net rgrieder at orxonox.net
Thu Apr 28 03:51:39 CEST 2011


Author: rgrieder
Date: 2011-04-28 03:51:38 +0200 (Thu, 28 Apr 2011)
New Revision: 8350

Modified:
   code/branches/kicklib2/cmake/LibraryConfig.cmake
Log:
Moved Apple specific variables into APPLE section.

Modified: code/branches/kicklib2/cmake/LibraryConfig.cmake
===================================================================
--- code/branches/kicklib2/cmake/LibraryConfig.cmake	2011-04-28 00:47:09 UTC (rev 8349)
+++ code/branches/kicklib2/cmake/LibraryConfig.cmake	2011-04-28 01:51:38 UTC (rev 8350)
@@ -49,11 +49,11 @@
 INCLUDE(LibraryConfigTardis)
 
 IF(DEPENDENCY_PACKAGE_ENABLE)
-  # Let CMake automatically download and extract the dependency package on Mac OS X
-  # TODO: Handle download errors and always select newest package
-  SET(_dep_package_current "OrxonoxDeps_110428_2.0_OSX.tar.bz2")
-  SET(_dep_package_url "http://svn.orxonox.net/ogre/apple/precompiled_dependencies")
   IF(APPLE AND NOT EXISTS ${CMAKE_SOURCE_DIR}/dependencies)
+    # Let CMake automatically download and extract the dependency package on Mac OS X
+    # TODO: Handle download errors and always select newest package
+    SET(_dep_package_current "OrxonoxDeps_110428_2.0_OSX.tar.bz2")
+    SET(_dep_package_url "http://svn.orxonox.net/ogre/apple/precompiled_dependencies")
     MESSAGE(STATUS "Downloading Mac OS X dependency package.")
     FILE(DOWNLOAD
       ${_dep_package_url}/${_dep_package_current}




More information about the Orxonox-commit mailing list