You can clone with HTTPS or Subversion.
Merge pull request #158 from GUIpsp/master
Fix building on mac without a c/c++ compiler set.
Showing 1 changed file with 1 addition and 1 deletion. Show Diff Stats Hide Diff Stats
@@ -29,7 +29,7 @@ if (APPLE)
set(CMAKE_CXX_COMPILER "clang++")
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")
52ed102
- if (NOT DEFINED CMAKE_CXX_COMPILER)if (NOT EXISTS "${CMAKE_C_COMPILER}")