Skip to content

Commit

Permalink
force use of gcc on os x (in preference to clang)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Mar 3, 2012
1 parent 8eea72c commit 3c3e9cf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
#
#

# force gcc on os x (in preference to clang)
if(APPLE)
set(CMAKE_C_COMPILER /usr/bin/gcc)
set(CMAKE_CXX_COMPILER /usr/bin/g++)
endif()

cmake_minimum_required(VERSION 2.6)
project (RStudio)

Expand Down
6 changes: 6 additions & 0 deletions src/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
#
#

# force gcc on os x (in preference to clang)
if(APPLE)
set(CMAKE_C_COMPILER /usr/bin/gcc)
set(CMAKE_CXX_COMPILER /usr/bin/g++)
endif()

cmake_minimum_required(VERSION 2.6)
project (RSTUDIO_CPP)

Expand Down

0 comments on commit 3c3e9cf

Please sign in to comment.