Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 6, 2009, 9:37:52 PM (15 years ago)
Author:
rgrieder
Message:

Changed CEGUILua directory choosing and restricted root directory builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/CMakeLists.txt

    r2566 r2574  
    22
    33CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR)
     4
     5# Also forbid to use the root directory as binary directory
     6IF(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR})
     7  MESSAGE(FATAL_ERROR "Do not use the root directory as CMake output directory! Mkdir a new subdir and invoke cmake ..")
     8ENDIF(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR})
    49
    510# This sets where to look for modules (e.g. "Find*.cmake" files)
     
    5459FIND_PACKAGE(OGRE REQUIRED)
    5560FIND_PACKAGE(CEGUI REQUIRED)
    56 # CEGUI_OGRE is already included in source
    57 #FIND_PACKAGE(CEGUI_OGRE REQUIRED)
    5861FIND_PACKAGE(ENet REQUIRED)
    5962FIND_PACKAGE(Boost 1.34 REQUIRED thread filesystem)
Note: See TracChangeset for help on using the changeset viewer.