mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
Merge pull request #158 from GUIpsp/master
Fix building on mac without a c/c++ compiler set.
This commit is contained in:
commit
52ed10213d
@ -29,7 +29,7 @@ if (APPLE)
|
||||
set(CMAKE_CXX_COMPILER "clang++")
|
||||
endif()
|
||||
endif()
|
||||
if (NOT DEFINED CMAKE_CXX_COMPILER)
|
||||
if (NOT DEFINED CMAKE_C_COMPILER)
|
||||
set(CMAKE_C_COMPILER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang")
|
||||
if (NOT EXISTS "${CMAKE_C_COMPILER}")
|
||||
set(CMAKE_C_COMPILER "clang")
|
||||
|
Loading…
Reference in New Issue
Block a user