Commit c0970dcb authored by Dominik Charousset's avatar Dominik Charousset

Fix ASIO setup for Jenkins (again)

parent 091620ce
set(LABEL_EXPR "$ENV{label_exp}")
if ("${LABEL_EXPR}" MATCHES "gcc")
message(STATUS "Set CXX to g++ based on label_expr content")
set(CMAKE_C_COMPILER "gcc" CACHE PATH "c++ compiler option")
set(CMAKE_CXX_COMPILER "g++" CACHE PATH "c++ compiler option")
set(CMAKE_C_COMPILER "gcc" CACHE PATH "C compiler option")
set(CMAKE_CXX_COMPILER "g++" CACHE PATH "C++ compiler option")
elseif ("${LABEL_EXPR}" MATCHES "clang")
message(STATUS "Set CXX to clang++ based on label_expr content")
set(CMAKE_C_COMPILER "clang" CACHE STRING "c++ compiler option")
set(CMAKE_CXX_COMPILER "clang++" CACHE STRING "c++ compiler option")
set(CMAKE_C_COMPILER "clang" CACHE STRING "C compiler option")
set(CMAKE_CXX_COMPILER "clang++" CACHE STRING "C++ compiler option")
endif()
if ("${LABEL_EXPR}" MATCHES "asio")
message(STATUS "Set define to use boost asio for the multiplexer")
set(CAF_USE_ASIO yes)
set(CAF_USE_ASIO yes CACHE STRING "Enable ASIO in CAF")
endif()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment