Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2724


Ignore:
Timestamp:
Mar 1, 2009, 6:32:58 PM (16 years ago)
Author:
rgrieder
Message:

With regards to Beni ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/CMakeLists.txt

    r2710 r2724  
    5858
    5959# Check __forceinline
    60 INCLUDE(CheckCXXSourceCompiles)
    61 SET(_source "int main() { return 0; } __forceinline void test() { return; }")
    62 CHECK_CXX_SOURCE_COMPILES("${_source}" HAVE_FORCEINLINE)
     60IF(MSVC)
     61  INCLUDE(CheckCXXSourceCompiles)
     62  SET(_source "int main() { return 0; } __forceinline void test() { return; }")
     63  CHECK_CXX_SOURCE_COMPILES("${_source}" HAVE_FORCEINLINE)
     64ENDIF(MSVC)
    6365
    6466# Check ciso646 include (literal operators)
Note: See TracChangeset for help on using the changeset viewer.