Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11798


Ignore:
Timestamp:
Feb 22, 2018, 12:20:34 PM (6 years ago)
Author:
landauf
Message:

added (again) more include paths to make it work with ubuntu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cegui0.8_ogre1.9/cmake/tools/FindCEGUI.cmake

    r11795 r11798  
    3434FIND_FILE(CEGUI_VERSION_FILE CEGUIVersion.h Version.h
    3535  PATHS $ENV{CEGUIDIR}
    36   PATH_SUFFIXES include include/CEGUI
     36  PATH_SUFFIXES
     37    include
     38    include/CEGUI
     39    include/cegui-0.8.4/CEGUI
    3740)
    3841DETERMINE_VERSION(CEGUI ${CEGUI_VERSION_FILE})
     
    4548  FIND_PATH(CEGUI_INCLUDE_DIR CEGUI/CEGUI.h
    4649    PATHS $ENV{CEGUIDIR}
    47     PATH_SUFFIXES include
     50    PATH_SUFFIXES
     51      include
     52      include/cegui-${CEGUI_VERSION}/
    4853  )
    4954ELSE()
     
    102107    # For Mac OS X, tolua++ is a separate framework in the dependency package
    103108    ${DEP_FRAMEWORK_DIR}
    104   NO_DEFAULT_PATH # Don't attempt to find tolua++ installed on the system
    105109)
    106110# Find CEGUI Tolua++ libraries
     
    125129      $ENV{CEGUIOGRERENDERERDIR}
    126130      ${CEGUI_INCLUDE_DIR}/RendererModules/Ogre
     131      ${CEGUI_INCLUDE_DIR}/CEGUI/RendererModules/Ogre
    127132    PATH_SUFFIXES include include/CEGUI
    128133  )
Note: See TracChangeset for help on using the changeset viewer.