View | Details | Raw Unified | Return to bug 156901 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/luxrender/files/patch-CMakeLists.txt (-5 / +16 lines)
Lines 1-6 Link Here
1
--- CMakeLists.txt.orig
1
--- CMakeLists.txt.orig	2010-10-14 21:18:39.000000000 +0200
2
+++ CMakeLists.txt
2
+++ CMakeLists.txt	2011-09-06 19:14:01.000000000 +0200
3
@@ -842,18 +841,6 @@
3
@@ -27,8 +27,9 @@
4
 #############################################################################
5
 
6
 IF(NOT APPLE)
7
+	STRING(REGEX REPLACE "[	 ]+" ";" _CMAKE_C_COMPILER_ARG1 "${CMAKE_C_COMPILER_ARG1}")
8
 	EXECUTE_PROCESS(
9
-		COMMAND ${CMAKE_C_COMPILER} -dumpmachine
10
+		COMMAND ${CMAKE_C_COMPILER} ${_CMAKE_C_COMPILER_ARG1} -dumpmachine
11
 		OUTPUT_VARIABLE MACHINE
12
 		OUTPUT_STRIP_TRAILING_WHITESPACE
13
 	)
14
@@ -842,18 +843,6 @@
4
 
15
 
5
 #############################################################################
16
 #############################################################################
6
 #############################################################################
17
 #############################################################################
Lines 19-25 Link Here
19
 ######################### wxWidgets LIBRARIES SETUP #########################
30
 ######################### wxWidgets LIBRARIES SETUP #########################
20
 #############################################################################
31
 #############################################################################
21
 #############################################################################
32
 #############################################################################
22
@@ -864,6 +851,11 @@
33
@@ -864,6 +853,11 @@
23
 FIND_PACKAGE(wxWidgets)
34
 FIND_PACKAGE(wxWidgets)
24
 
35
 
25
 IF(wxWidgets_FOUND)
36
 IF(wxWidgets_FOUND)
Lines 31-37 Link Here
31
 	# Include wxWidgets macros
42
 	# Include wxWidgets macros
32
 	INCLUDE(${wxWidgets_USE_FILE})
43
 	INCLUDE(${wxWidgets_USE_FILE})
33
 	MESSAGE( STATUS "wxWidgets include directory: " ${wxWidgets_INCLUDE_DIRS} )
44
 	MESSAGE( STATUS "wxWidgets include directory: " ${wxWidgets_INCLUDE_DIRS} )
34
@@ -955,16 +947,14 @@
45
@@ -955,16 +949,14 @@
35
 
46
 
36
 #############################################################################
47
 #############################################################################
37
 
48
 

Return to bug 156901