Maybe macOS needs -fno-common ...?
This commit is contained in:
parent
4b2180dd17
commit
9ae6fc9e87
|
@ -25,7 +25,7 @@ endif()
|
||||||
include_directories(./src)
|
include_directories(./src)
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
set(OTHER_LDFLAGS ${OTHER_LDFLAGS} "-framework CoreFoundation -framework IOKit")
|
set(OTHER_LDFLAGS ${OTHER_LDFLAGS} "-fno-common -framework CoreFoundation -framework IOKit")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_GNUCC)
|
if(CMAKE_COMPILER_IS_GNUCC)
|
||||||
|
|
Loading…
Reference in New Issue