Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 3, 2013, 10:58:02 PM (11 years ago)
Author:
landauf
Message:

fixed pch with gcc 4.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/tools/PrecompiledHeaderFiles.cmake

    r7448 r9685  
    122122        ENDIF()
    123123        SET_SOURCE_FILES_PROPERTIES(${_file} PROPERTIES
    124           COMPILE_FLAGS "${_old_flags} -include ${_pch_header_filename}"
     124          COMPILE_FLAGS "${_old_flags} -I ${CMAKE_CURRENT_SOURCE_DIR} -include ${_pch_header_filename}"
    125125          OBJECT_DEPENDS "${_pch_header_file}"
    126126        )
Note: See TracChangeset for help on using the changeset viewer.