use OSX system-gcc for compiling Togl2.1

This commit is contained in:
Joachim Schöberl 2016-02-22 10:03:27 +01:00
parent bc3cbf1a41
commit 24dc3892bc

View File

@ -8,7 +8,7 @@ include_directories("${TK_INCLUDE_PATH}/../PrivateHeaders")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -fomit-frame-pointer -Wall -Wno-implicit-int")
if(APPLE)
set(CMAKE_C_COMPILER "gcc")
set(CMAKE_C_COMPILER "/usr/bin/gcc")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -x objective-c")
endif(APPLE)