Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #158 from GUIpsp/master

Fix building on mac without a c/c++ compiler set.
commit 52ed10213d085caec6007ae3b3856e50f282c756 2 parents 3d0116e + dacd243
Pierre Bourdon authored

Showing 1 changed file with 1 addition and 1 deletion. Show Diff Stats Hide Diff Stats

  1. 2  CMakeLists.txt
2  CMakeLists.txt
@@ -29,7 +29,7 @@ if (APPLE)
29 29
 			set(CMAKE_CXX_COMPILER "clang++")
30 30
 		endif()
31 31
 	endif()
32  
-	if (NOT DEFINED CMAKE_CXX_COMPILER)
  32
+	if (NOT DEFINED CMAKE_C_COMPILER)
33 33
 		set(CMAKE_C_COMPILER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang")
34 34
 		if (NOT EXISTS "${CMAKE_C_COMPILER}")
35 35
 			set(CMAKE_C_COMPILER "clang")

0 notes on commit 52ed102

Please sign in to comment.
Something went wrong with that request. Please try again.