mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
use OSX system-gcc for compiling Togl2.1
This commit is contained in:
parent
bc3cbf1a41
commit
24dc3892bc
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user