Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11713


Ignore:
Timestamp:
Jan 7, 2018, 11:54:22 AM (7 years ago)
Author:
landauf
Message:

mark includes of external libraries as "SYSTEM" includes to avoid compiler warnings about code that we can't change anyways. in gcc this leads to the -isystem option being used instead of -I

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/SourceConfig.cmake

    r11113 r11713  
    103103  ../src/external/bullet
    104104  ../src/external/ois
     105)
    105106
     107INCLUDE_DIRECTORIES(
     108  SYSTEM
     109 
    106110  # External
    107111  ${OGRE_INCLUDE_DIR}
     
    122126
    123127IF(CEGUI_OLD_VERSION)
    124   INCLUDE_DIRECTORIES(${CEGUILUA_INCLUDE_DIR})
     128  INCLUDE_DIRECTORIES(SYSTEM ${CEGUILUA_INCLUDE_DIR})
    125129ENDIF()
    126130
    127131IF (DBGHELP_FOUND)
    128   INCLUDE_DIRECTORIES(${DBGHELP_INCLUDE_DIR})
     132  INCLUDE_DIRECTORIES(SYSTEM ${DBGHELP_INCLUDE_DIR})
    129133ENDIF()
    130134
Note: See TracChangeset for help on using the changeset viewer.