Changeset 19223
- Timestamp:
- 09/08/18 20:04:53 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/CMakeLists.txt
r19222 r19223 15 15 # Note that if compilers are switched on the fly, 16 16 # the cache is deleted 17 18 # The version of clang is not compatible with boost::regex on Ubuntu 16.04 :( 19 20 #IF (NOT DEFINED CMAKE_C_COMPILER) 21 # SET(CMAKE_C_COMPILER "clang")# CACHE STRING "Choose the compiler (c++, g++, clang++)" FORCE) 22 #ENDIF() 23 # 24 #IF (NOT DEFINED CMAKE_CXX_COMPILER) 25 # SET(CMAKE_CXX_COMPILER "clang++")# CACHE STRING "Choose the compiler (c++, g++, clang++)" FORCE) 26 #ENDIF() 17 IF(NOT DEFINED CMAKE_C_COMPILER) 18 FIND_PROGRAM(CMAKE_C_COMPILER NAMES $ENV{CC} clang gcc cc PATHS ENV PATH NO_DEFAULT_PATH DOC "C Compiler") 19 ENDIF() 20 IF(NOT DEFINED CMAKE_CXX_COMPILER) 21 FIND_PROGRAM(CMAKE_CXX_COMPILER NAMES $ENV{CXX} clang++ g++ c++ PATHS ENV PATH NO_DEFAULT_PATH DOC "C++ Compiler") 22 ENDIF() 27 23 28 24 #SET(CMAKE_VERBOSE_MAKEFILE ON)
Note:
See TracChangeset
for help on using the changeset viewer.