Remove non-functional compiler override for MacOSX.
authorTeemu Murtola <teemu.murtola@gmail.com>
Fri, 21 Dec 2012 05:38:41 +0000 (07:38 +0200)
committerTeemu Murtola <teemu.murtola@gmail.com>
Fri, 21 Dec 2012 05:38:41 +0000 (07:38 +0200)
As discussed in #1021, at least with CMake 2.8.9 this does not work, so
it only causes confusion.  A better solution can be implemented if
identified in #1021 discussion.

Related to #1021.

Change-Id: Iec704dcae65cd7a213cf31861a262ac0b2763474

CMakeLists.txt

index 78c25c6036f8d3d0f2fad8e928373fbf69722398..c2117eb67f50815971e8c6eb493a9dc7fbb8be21 100644 (file)
@@ -40,11 +40,6 @@ set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
 set(CPACK_COMPONENT_GROUP_TOOLS_DESCRIPTION "All GROMACS executable tools")
 set(CPACK_COMPONENT_GROUP_MDRUN_DESCRIPTION "GROMACS executable for running simulations")
 
-# override bugs on OS X where Cmake picks gcc (GNU) for C instead of system default cc (Clang).
-if(APPLE)
-    set(CMAKE_C_COMPILER_INIT "cc")
-endif(APPLE)
-
 project(Gromacs C)
 include(Dart)
 mark_as_advanced(DART_ROOT)