Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 2, 2008, 7:00:54 PM (16 years ago)
Author:
rgrieder
Message:
  • Modified cmake files to support library finding when using Visual Studio precompiled dependencies
  • Removed vorbisenc executable from library dependency
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/CMakeLists.txt

    r1871 r1872  
    66  cmake_policy(SET CMP0003 NEW)
    77ENDIF (COMMAND cmake_policy)
     8
     9# Allow for simple IF constructs (makes code a lot more readable)
     10#SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
    811
    912# This sets where to look for modules (e.g. "Find*.cmake" files)
     
    6871# SET (VERBOSE_FIND true)
    6972
     73# Set the library directory when using precompiled tarballs for the dependencies under windows
     74IF (WIN32)
     75  IF (MSVC)
     76    IF ($ENV{ORXONOX_DEV})
     77      SET (DEPENDENCY_DIR ${CMAKE_SOURCE_DIR}/../lib_dist/dependencies/)
     78    ELSE ($ENV{ORXONOX_DEV})
     79      SET (DEPENDENCY_DIR ${CMAKE_SOURCE_DIR}/dependencies/)
     80    ENDIF ($ENV{ORXONOX_DEV})
     81    SET(Boost_LIB_SUFFIX_DEBUG vc80-mt-gd-1_35)
     82  ENDIF (MSVC)
     83ENDIF (WIN32)
     84MESSAGE(STATUS ${DEPENDENCY_DIR})
     85
    7086# Performs the search and sets the variables
    7187FIND_PACKAGE(OGRE)
Note: See TracChangeset for help on using the changeset viewer.