CMakeLists.txt
changeset 7999 2c9aedfba740
parent 7981 6d538bc1b395
child 8031 edf58197a910
     1.1 --- a/CMakeLists.txt	Sat Nov 16 11:54:16 2013 -0800
     1.2 +++ b/CMakeLists.txt	Sat Nov 16 11:58:21 2013 -0800
     1.3 @@ -266,7 +266,7 @@
     1.4  set(HAVE_ASSERTIONS ${ASSERTIONS})
     1.5  
     1.6  # Compiler option evaluation
     1.7 -if(USE_GCC)
     1.8 +if(USE_GCC OR USE_CLANG)
     1.9    if(DEPENDENCY_TRACKING)
    1.10      check_c_source_compiles("
    1.11          #if !defined(__GNUC__) || __GNUC__ < 3
    1.12 @@ -314,7 +314,7 @@
    1.13        set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-multichar")
    1.14      endif(HAIKU)
    1.15    endif(HAVE_GCC_WALL)
    1.16 -endif(USE_GCC)
    1.17 +endif(USE_GCC OR USE_CLANG)
    1.18  
    1.19  if(ASSEMBLY)
    1.20    if(USE_GCC OR USE_CLANG)