diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c554fb..ee79351 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,10 +19,10 @@ find_library(IXWEBSOCKET_LIBRARIES ixwebsocket) if(NOT CMAKE_C_COMPILER OR NOT CLANG_CXX_COMPILER) message(STATUS "clang not found") - set(CMAKE_C_COMPILER "gcc") - set(CMAKE_CXX_COMPILER "g++") - find_program(CMAKE_C_COMPILER clang) - find_program(CLANG_CXX_COMPILER clang++) + set(CMAKE_C_COMPILER gcc) + set(CMAKE_CXX_COMPILER g++) + find_program(CMAKE_C_COMPILER gcc) + find_program(CLANG_CXX_COMPILER g++) if(NOT CMAKE_C_COMPILER OR NOT CLANG_CXX_COMPILER) message(FATAL_ERROR "gcc not found") endif()