cmake_modules/FindClang.cmake
branchwebgl
changeset 8450 404ddce27b23
parent 8113 0ad9c42dca7c
child 9133 a269fe7090a0
equal deleted inserted replaced
8448:14f736ca7eb3 8450:404ddce27b23
     1 # Load LLVM/Clang
     1 # Load LLVM/Clang
     2 if (CLANG)
     2 if (CLANG)
     3     set(CLANG_EXECUTABLE ${CLANG})
     3     set(CLANG_EXECUTABLE ${CLANG})
     4 else()
     4 else()
     5     find_program(CLANG_EXECUTABLE
     5     find_program(CLANG_EXECUTABLE
     6         NAMES clang-mp-3.2 clang-mp-3.1 clang-mp-3.0 clang
     6         NAMES clang-mp-3.3 clang-mp-3.2 clang-mp-3.1 clang-mp-3.0 clang
     7         PATHS /opt/local/bin /usr/local/bin /usr/bin)
     7         PATHS /opt/local/bin /usr/local/bin /usr/bin)
     8 endif()
     8 endif()
     9 
     9 
    10 # Check LLVM/Clang version
    10 # Check LLVM/Clang version
    11 if (CLANG_EXECUTABLE)
    11 if (CLANG_EXECUTABLE)