Re: [CMake] Question about if/else in Cmake

2009-03-11 Thread Marcel Loose
Hi Sascha, I recently ported our existing autotool tests for lib vs. lib64 to CMake. I haven't thoroughly tested it yet, but I think it will suit your needs. I use the CMake global property FIND_LIBRARY_USE_LIB64_PATHS to record the use of either lib or lib64. Hope it helps. Regards, Marcel Loose

Re: [CMake] Question about if/else in Cmake

2009-03-10 Thread Sascha 'saigkill' Manns
On Dienstag 10 März 2009 20:56:17 Alexander Neundorf wrote: > Or you could test whether e.g. /usr/lib64 exists, and if so, also use > lib64. This was an good idea.Now it runs perfectly :-) -- Sincereley Yours Sascha Manns openSUSE Build Service openSUSE Marketing Team Maifeldstrasse 10 D-56 727 M

Re: [CMake] Question about if/else in Cmake

2009-03-10 Thread Sascha 'saigkill' Manns
Hello Alexander, is this right? SET( CONFIGFILE_PATH /etc/freeremoted CACHE PATH "Path find config file" FORCE ) SET( MODULEFILE_PATH /usr/lib CACHE PATH "Path find module file" FORCE) option(USE_LIB64_DIR "Enable this option to use lib64 instead of lib/" FALSE) Or must i run this Option extra

Re: [CMake] Question about if/else in Cmake

2009-03-10 Thread Alexander Neundorf
On Tuesday 10 March 2009, Sascha 'saigkill' Manns wrote: > Hello Mates, > > i'm Sascha Manns from Germany. I'm new to the List, and i hope that i > can learn more about CMake. > Actually i'm building for the openSUSE Build Service an Package called > "freeremote". > > The Package has the following

[CMake] Question about if/else in Cmake

2009-03-10 Thread Sascha 'saigkill' Manns
Hello Mates, i'm Sascha Manns from Germany. I'm new to the List, and i hope that i can learn more about CMake. Actually i'm building for the openSUSE Build Service an Package called "freeremote". The Package has the following in the CMakeLists.txt: SET( CONFIGFILE_PATH ${PREFIX}/etc/freeremoted