Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #158 from GUIpsp/master
Fix building on mac without a c/c++ compiler set.
  • Loading branch information
delroth committed Mar 10, 2014
2 parents 3d0116e + dacd243 commit 52ed102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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")
Expand Down

0 comments on commit 52ed102

Please sign in to comment.