mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +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")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -fomit-frame-pointer -Wall -Wno-implicit-int")
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
set(CMAKE_C_COMPILER "gcc")
|
set(CMAKE_C_COMPILER "/usr/bin/gcc")
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -x objective-c")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -x objective-c")
|
||||||
endif(APPLE)
|
endif(APPLE)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user