summaryrefslogtreecommitdiff
path: root/community/lightspark/llvm29.diff
blob: f859852af0650aecbc2f9ebe8def2aa0285abd7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- CMakeLists.txt.old	2011-11-01 22:07:52.475608726 +0000
+++ CMakeLists.txt	2011-11-01 22:08:52.046241925 +0000
@@ -152,7 +152,8 @@
 	MESSAGE(FATAL_ERROR "LLVM >=2.8 is required!")
 ENDIF(${LLVM_STRING_VERSION} VERSION_LESS 2.8)
 IF(${LLVM_STRING_VERSION} VERSION_EQUAL 2.9)
-	MESSAGE(FATAL_ERROR "LLVM !=2.9 is required!")
+	#MESSAGE(FATAL_ERROR "LLVM !=2.9 is required!")
+	ADD_DEFINITIONS(-DLLVM_29)
 ENDIF(${LLVM_STRING_VERSION} VERSION_EQUAL 2.9)
 IF(${LLVM_STRING_VERSION} VERSION_EQUAL 2.8)
 	ADD_DEFINITIONS(-DLLVM_28)