Skip to content

Commit

Permalink
Also set C compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri Vorona committed Dec 6, 2018
1 parent 192f993 commit 635871b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ffi/passes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 3.2)
if (APPLE AND "$ENV{CONDA_ENV}" STREQUAL "travisci")
# use system clang in travis ci to avoid linking issues
# see https://github.com/bigartm/bigartm/issues/910
set(CMAKE_CXX_COMPILER clang)
set(CMAKE_CXX_COMPILER clang++)
set(CMAKE_C_COMPILER clang)
endif()

find_package(LLVM REQUIRED CONFIG)
Expand All @@ -23,4 +24,3 @@ endif()
include_directories(${LLVM_INCLUDE_DIRS})

add_subdirectory(hello)
add_subdirectory(refcntopt)

0 comments on commit 635871b

Please sign in to comment.