Re: config.sh bug [message #8406 is a reply to message #8404] |
Tue, 05 May 2009 10:34 |
Anonymous Poster
|
|
From: *e18.physik.tu-muenchen.de
|
|
Hi again,
actually I found the bug, but I dont have the write permissions to commit it. Can you please apply the following patch:
hoeppi@hoeppi:~/trunk$ svn diff cmake/modules/WriteConfigFile.cmakeIndex: cmake/modules/WriteConfigFile.cmake
===================================================================
--- cmake/modules/WriteConfigFile.cmake (revision 5370)
+++ cmake/modules/WriteConfigFile.cmake (working copy)
@@ -9,7 +9,7 @@
SET(FAIRLIBDIR ${CMAKE_CURRENT_BINARY_DIR}/lib)
IF(CMAKE_SYSTEM_NAME MATCHES Linux)
- SET(LD_LIBRARY_PATH /usr/lib /usr/X11R6/lib ${FAIRLIBDIR} ${LD_LIBRARY_PATH})
+ SET(LD_LIBRARY_PATH ${FAIRLIBDIR} ${LD_LIBRARY_PATH})
ELSE(CMAKE_SYSTEM_NAME MATCHES Linux)
IF(CMAKE_SYSTEM_NAME MATCHES Darwin)
SET(LD_LIBRARY_PATH ${FAIRLIBDIR} ${LD_LIBRARY_PATH})
@@ -115,7 +115,7 @@
SET(FAIRLIBDIR ${CMAKE_CURRENT_BINARY_DIR}/lib)
IF(CMAKE_SYSTEM_NAME MATCHES Linux)
- SET(LD_LIBRARY_PATH /usr/lib /usr/X11R6/lib ${FAIRLIBDIR} ${LD_LIBRARY_PATH})
+ SET(LD_LIBRARY_PATH ${FAIRLIBDIR} ${LD_LIBRARY_PATH})
ELSE(CMAKE_SYSTEM_NAME MATCHES Linux)
IF(CMAKE_SYSTEM_NAME MATCHES Darwin)
SET(LD_LIBRARY_PATH ${FAIRLIBDIR} ${LD_LIBRARY_PATH})
hoeppi@hoeppi:~/trunk$
As you can see it just removes /usr/lib and /usr/X11R6/lib in two places, nothing else.
Cheers, Christian
|
|
|