this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Automatically detect compiler

+8 -2
+8 -2
CMakeLists.txt
··· 3 3 4 4 # This allows setting the compiler with -DCMAKE_C_COMPILER when configuring. 5 5 if (NOT DEFINED CMAKE_C_COMPILER) 6 - SET(CMAKE_C_COMPILER clang) 6 + find_program(CMAKE_C_COMPILER NAMES 7 + "clang" 8 + "clang-4.0" 9 + "clang-7") 7 10 endif(NOT DEFINED CMAKE_C_COMPILER) 8 11 9 12 if (NOT DEFINED CMAKE_CXX_COMPILER) 10 - SET(CMAKE_CXX_COMPILER clang++) 13 + find_program(CMAKE_CXX_COMPILER NAMES 14 + "clang++" 15 + "clang++-4.0" 16 + "clang++-7") 11 17 endif(NOT DEFINED CMAKE_CXX_COMPILER) 12 18 13 19 SET(CMAKE_SKIP_RPATH TRUE)