Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

force use of gcc on os x (in preference to clang)

  • Loading branch information...
commit 3c3e9cf8d174487eb49bff95da13fa46d1398b43 1 parent 8eea72c
@jjallaire jjallaire authored
Showing with 12 additions and 0 deletions.
  1. +6 −0 CMakeLists.txt
  2. +6 −0 src/cpp/CMakeLists.txt
View
6 CMakeLists.txt
@@ -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)
View
6 src/cpp/CMakeLists.txt
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.