Re: [CMake] CMake link order

2019-10-18 Thread Andreas Naumann
Hey all, I face a similar problem when constructing a correct (and predictable) link order for Linux and Cygwin. It would be of great help, if there is some documentation. In particular, I would raise two question     1) when does the link order change?     2) when does a clean up happen and in

Re: [CMake] How to specify Redhat Developer Toolset compiler?

2019-06-20 Thread Andreas Naumann
You could set the environment variables CXX and CC such that they point to your toolset compiler Am 20.06.19 um 17:39 schrieb David Aldrich: My Centos 7.6 machine has CMake 3.13.5 and g++ 4.8.5 installed: $ /usr/bin/x86_64-redhat-linux-g++ --version x86_64-redhat-linux-g++ (GCC) 4.8.5 20150623

Re: [CMake] How can I automatically optionally build a submodule?

2019-03-27 Thread Andreas Naumann
For me, this sounds more like foo is an independent thing and not a subdirectory. In this case, I think about two solutions:     1) Use a macro/function "check_yada", which sets a variable "yada_usable". If you extract this logic in an extra .cmake file, you can reuse it in your yada

Re: [CMake] Correct Boost version found, linked against wrong one

2019-03-12 Thread Andreas Naumann
Hey Florian, Am 12.03.19 um 13:53 schrieb Florian Lindner: Hello, I have a simple cmake file for a small project. That project uses boost and links again a shared lib that also uses boost: find_library(precice precice PATHS $ENV{PRECICE_ROOT}/build $ENV{PRECICE_ROOT}/build/last)

Re: [CMake] Question about functions

2019-02-18 Thread Andreas Naumann
Am 18.02.19 um 20:43 schrieb workbe...@gmx.at: Hi everyone, i have a function like: FUNCTION(checksyste_64Bit arg1)     IF(CMAKE_SIZEOF_VOID_P EQUAL 8)         SET(${arg1} TRUE PARENT_SCOPE) ENDFUNCTION() but when i call it with an INTERNAL variable i've set before with SET(SYSTEM_64BIT

Re: [CMake] fixup-bundle usability

2019-02-18 Thread Andreas Naumann
() will copy only mkl_rt and you have to copy the other mkl libraries to avoid runtime error. Fixup bundle is tricky to put in place, but having a fixed list of libraries to copy is even more cumbersome and flaky. When supplied with the proper directories, the bundle is right every time. Fran

Re: [CMake] Question about set

2019-02-18 Thread Andreas Naumann
Hey, I would introduce a list with the allowed values and introduce a macro "checked_set", which tests the setting or aborts. Regards, Andreas Am 18.02.19 um 15:06 schrieb workbe...@gmx.at: Hi everyone, i've looked the web but found no result. I need a string variable that allows only

Re: [CMake] Static libraries depending on libraries: only on headers/options/defines

2019-02-16 Thread Andreas Naumann
Hi Paul, I understand the relationship between libraries as strict, such that you always build all dependent libraries before. In your use case I thought about splitting the libraries in the actual target and the interface one. For example, you could create an interface library foo_interface

[CMake] fixup-bundle usability

2019-02-16 Thread Andreas Naumann
Dear CMakers, recently I tried to bundle an application in Windows. From the documentation [1] I see that I should provide the directories to the non-system libraries. But these information should be already in the properties of the targets, arent they? Is there any extension in cmake, that

Re: [CMake] How is ARGN passed to a macro

2018-11-21 Thread Andreas Naumann
Hey Torsten, Am 21.11.18 um 13:15 schrieb Torsten Robitzki: Hi, I’ve stumbled over following behavior and now I’m searching for the rules, that explains that behavior: test.cmake: macro(check_argn) message("in macro check_argn ARGN: ${ARGN}") if(ARGN) foreach(item IN

Re: [CMake] Moving static library to separate project

2018-09-26 Thread Andreas Naumann
Dear Chris, you have several ways to cope with that. First, you should write a MyLogConfig.cmake-File [2], which imports your static library as import library [1] and sets the include path. The same file also defines the dependency on pthread via target_link_library. Your project with the

Re: [CMake] Beginners Guide to Cmake and Modern Cmake

2018-07-27 Thread Andreas Naumann
Dear space & and the rest of the cmake world :) i just googled for "modern cmake" and came up with at least two interesting talks from cppcon and boostcon: https://www.youtube.com/watch?v=bsXLMQ6WgIk=youtu.be=37m15s     https://www.youtube.com/watch?v=eC9-iRN2b04 Their slides can be found at

Re: [CMake] conditions and included subprojects

2018-06-11 Thread Andreas Naumann
: "Cornelis Bockemühl" An: "Andreas Naumann" , cmake@cmake.org Betreff: Re: [CMake] conditions and included subprojects Thanks for your proposals!   Actually my problem is basically that I want to keep up with some minimum good practice, but I am seeing myself throwing it o

Re: [CMake] conditions and included subprojects

2018-06-11 Thread Andreas Naumann
Dear Cornelis,   your description looks to me like having a three valued option: ON, OFF, UNDEFINED. But an option in cmake language has only two values: ON or OFF.  To solve your problem with the connection between your sub-project and the main project, you should forget about the main

Re: [CMake] problem with CMake not including library's path (with pkg-config)

2018-05-24 Thread Andreas Naumann
Dear Francesco, I use the pkg-config module with IPopt and had the same problem. According to the documentation, the library paths are in _LIBRARY_DIRS. In your case, you should find the paths in the variable AGG_LIBRARY_DIRS or all flags in the variable  AGG_LDFLAGS . Regards, Andreas Am

Re: [CMake] CMake does not find module, though it's in MODULE_PATH

2018-05-07 Thread Andreas Naumann
Dear Florian,   please note, that CMake expects the variable CMAKE_MODULE_PATH not as an environment variable, but as a CMake variable. So, you could do something like set(CMAKE_MODULE_PATH $ENV{CMAKE_MODULE_PATH}) before calling find_package(Eigen3)   But there are other ways, according to

Re: [CMake] FindMPI & policy CMP0004

2018-03-12 Thread Andreas Naumann
. You can find the updated discussion of the Mantis issue you linked to in gitlab here <https://gitlab.kitware.com/cmake/cmake/issues/11881> where someone else had a situation that sounds similar to yours. On Mon, Mar 12, 2018 at 7:16 AM, Andreas Naumann <andreas-naum..

[CMake] FindMPI & policy CMP0004

2018-03-11 Thread Andreas Naumann
Dear all, recently, I got a problem with FindMPI on our HPC systems. With cmake 3.10.2, I get an error about policy CMP0004. And I cannot set it to OLD anymore. Is this intended? Exactly the same error, together with a patch, is described in the bugtracker

Re: [CMake] RPATH for pkg-config

2018-01-03 Thread Andreas Naumann
What about using a FindPETSC-Module? Some hints are *http://jacobmerson.com/2016/01/17/cmake-petsc2.html *http://www.mcs.anl.gov/petsc/documentation/faq.html#cmake Regards, Andreas Am 03.01.2018 um 21:35 schrieb Alexander Neundorf: On 2018 M01 3, Wed 10:08:09 CET Franck Houssen wrote:

[CMake] cmake-server, path length for pipe

2017-12-29 Thread Andreas Naumann
Hey cmakers, I use visual studio code with the extension "vscode-cmake-tools" [1]. This extension uses the cmake-server functionality, Recently, I have encountered the strange error message [cmake-server] CMake Error: Internal Error with /release/.cmserver.18775: EADDRINUSE where the

Re: [CMake] absolute library path, sorry for the question

2017-12-23 Thread Andreas Naumann
your problem is hard to analyse. If you have a "minimal" example, which shows this behavior, we could test it. In your last mail, you wrote about building and installing libtiff using your own libjpeg. But than you write about a later build. So something must happen in the "later build".

Re: [CMake] Please update the documentation for execute_process

2017-08-25 Thread Andreas Naumann
Am 25.08.2017 um 16:12 schrieb Jeffrey Walton: Below is a typical case for us (https://github.com/weidai11/cryptopp/blob/master/CMakeLists.txt). If it looks pretty shitty, it probably is. That's the best we have been able to come up with based on the documentation. Below is the example code. We

Re: [CMake] /path/to/libpng.so automatic conversion to -lpng ?

2017-07-12 Thread Andreas Naumann
Dear Rene, cmake instrospects your compiler and asks for system directories. Only these system directories will be removed and the corresponding libraries will be linked by -l<...>. So, you should check your compiler and the environment. I had several problems years ago with the environment

Re: [CMake] Cross project include/link pathing?

2017-02-10 Thread Andreas Naumann
Dear Chris, your description looks like the perfect example for ExternalProject_add. Than, every library would be a project. Inside each library, it looks for its dependency using find_package() and exports the dependency chain. Your CMakeLists.txt of the application than has two

Re: [CMake] Platform-independent config package

2017-01-10 Thread Andreas Naumann
Dear Ghis, the easiest long-term fix would be an own glmConfig.cmake file. The command write_basic_package_version_file uses a template with those pointer checks. The glm-developers could simply copy the template to their source directory, remove the unneeded lines and run the configure_file

Re: [CMake] Find Vulkan on 32 bit builds

2017-01-08 Thread Andreas Naumann
Hello, Am 08.01.2017 um 07:22 schrieb Saad Khattak: Hello, When I run "find_package(VULKAN)" in a CMakeLists for a Visual Studio 2015 32-bit project, the ${Vulkan_LIBRARY} and ${Vulkan_LIBRARIES} variables both point to the "Bin" folder for the Vulkan installation instead of the "Bin32"

Re: [CMake] target_link_libraries is using relative path of library

2017-01-08 Thread Andreas Naumann
Hello, on Linux cmake treats system directorys specially, i.e. those libraries are linked without any path. Furthermore there are environment variables, whose content is added to the set of system directories. I do not work on Windows, but your problem looks like a smiliar problem. Does some

Re: [CMake] Modifying the FindBoost.cmake module

2016-06-27 Thread Andreas Naumann
Hey, if you would use the FindBoost.cmake module from cmake itself, you could set the environment variable BOOST_ROOT to the second path. Regards, Andreas Am 28.06.2016 um 01:21 schrieb Sambeet Panigrahi: Hi, I am using Cmake to build Orocos RTT. There is a FindBoost.cmake module

Re: [CMake] subversion

2016-06-27 Thread Andreas Naumann
se: See also https://cmake.org/Bug/view.php?id=10200 Cheers, Marcel Loose. On 27/06/16 09:23, Andreas Naumann wrote: Thanks for the 6 year old hint. But obviously, the patch is not in any recent cmake version. Therefore, I could use it in my own project and ship my own FindSubversion.cmake..

Re: [CMake] subversion

2016-06-27 Thread Andreas Naumann
ke.org Betreff: Re: [CMake] subversion Am 24.06.2016 um 19:48 schrieb Andreas Naumann: > At the moment, I check, if my directory is a working copy and if it is > not, the version variable is not defined. In my oppinion, it would be > better, if the macro from the subversion module woul

[CMake] subversion

2016-06-24 Thread Andreas Naumann
Dear cmake users, I have a question if, and how, you use the Subversion module of cmake. The module provides the macro Subversion_WC_INFO, which extracts information of a working copy. I use this information, to generate a sub minor revision number of my project. If I checkout my project using

Re: [CMake] Freetype on linux systems in non-standard directories

2016-06-07 Thread Andreas Naumann
Hey Kristian, as the documentation https://github.com/Kitware/CMake/blob/master/Modules/FindFreetype.cmake at line 21 states, FREETYPE_DIR is an environment variable. So, if you change your line set(FREETYPE_DIR "/home/kristian/Documents/freetype/freetype") to set(ENV{FREETYPE_DIR}

Re: [CMake] Cmake cannot locate header file that exists on my system

2016-03-19 Thread Andreas Naumann
You have to add the directory /usr/include/trilinos to the c++ include directories. The fastest workaround would be, to add the directory to the CMAKE_CXX_FLAGS using ccmake or cmake-gui. The better solution is to look for any hint regarding trilinos in the CMakeLists.txt of dakota and check,

Re: [CMake] Fwd: Re: cmake needs 2 runs to find boost

2015-11-09 Thread Andreas Naumann
Did boost change the naming convention? The documentation says, it should be named with vc. And therefore, cmake cannot find the library... Even the boost header files rely on the names in Visual studio. So, I would assume, your boost installation to be broken? Regards, Andreas Am 09.11.2015

Re: [CMake] CMake + MPI

2015-09-08 Thread Andreas Naumann
Hi Nico, I just use find_package(MPI REQUIRED) and use the given MPI_CXX_LIBRARIES and MPI_CXX_INCLUDE_PATH. Recent mpi wrappers should support support interspection. Regards, Andreas Am 08.09.2015 um 13:01 schrieb Nico Schlömer: Hi everyone, When it comes to compiling and linking, the MPI

Re: [CMake] CMake Error at build/modules/add_boost.cmake:156 (message):

2015-08-13 Thread Andreas Naumann
Hey, at the first sight, it seems to me an error in their build system. But the error message is surrounded by an if-clause. Your error message does not show any error or output, so I assume, there was no error with bootstrap, but the (executable? file?) b2 was not found. To test it, you could

Re: [CMake] Check whether C++ headers are self-sufficient

2015-03-14 Thread Andreas Naumann
Why do you want to use one library per header? I think, it would be sufficient to have one cc-file per header and one library per folder. The library would simply contain all files. Why do you worry about large build directories? Regards, Andreas Am 14.03.2015 um 13:19 schrieb Christoph

Re: [CMake] Problems with CMP0037

2014-11-02 Thread Andreas Naumann
Hi Alan, with cmake 2.8.12.1 I can confirm this behavior at least for Makefile generator on Linux, see the attached small CMakeLists.txt. But what would be a better behavior? Changing the target name would change the output at end. So the user would have to figure out, what changed why. At

Re: [CMake] TARGET_LINK_LIBRARIES with full path libraries

2014-09-18 Thread Andreas Naumann
Am 17.09.2014 22:00, schrieb Alexander Neundorf: On Wednesday, September 17, 2014 14:50:40 Volker Pilipp wrote: ... I suppose it is the line LIBRARY_PATH=/opt/XXX/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/opt/XXX/lib/g cc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib64/:/lib/../lib64/:/usr/lib

Re: [CMake] CFLAGS disables link directories?

2014-08-28 Thread Andreas Naumann
Hello Alexander, your problem is not a problem of CFlags, it is much more a problem of the compiler and what you are setting with --sysroot=/sysroot. Here you tell the compiler, that it should treat /sysroot as system library directory, so

Re: [CMake] Cmake appears to substitute -llibrary when a full path is given.

2013-09-25 Thread Andreas Naumann
Hi Seth, I had the same problem some time ago. In my case, the environment variable LIBRARY_PATH contained the boost directory, which instructs the linker to use it as standard library directory. CMake asks the compiler for implicit linking directories. I am not completly sure, but the

[CMake] library link order

2013-08-24 Thread Andreas Naumann
Hello, I have cmake project, which tries to link against external libraries using target_link_libraries(myExec ${EXTERNAL_LIBS}) When compiling and linking the executable using make, I can see that some libraries are doubled in the link line, but not all. At the current stage, I think, that

Re: [CMake] check_function_exists failing for gcc built-in functions?

2012-09-19 Thread Andreas Naumann
Hi, it is an interesting problem. If you tell the gcc to use the math library, it works. The interesting thing is the way of testing. The cmake macro simply declares a function foo with the signature char foo(); and call this one without arguments. If you tell cmake to link against the math

Re: [CMake] Check if a command exists?

2012-09-03 Thread Andreas Naumann
I don't know if it's the right way, but I am looking for the executable/script with find_file and set up a custom command for it. Regards, Andreas Naumann Am 03.09.2012 21:59, schrieb Rui Maciel: I have a small project which includes a couple of parsers whose lexers are generated by re2c. I

Re: [CMake] FindBLAS module

2012-08-31 Thread Andreas Naumann
I remember the same problem, but could not figure it out. Which cmake version are you using? Am 31.08.2012 19:30, schrieb Bogdan Cristea: On Friday 31 August 2012 17:59:38 you wrote: did you try to set the variable BLA_VENDOR to ACML? Tried with this: cmake .. -DBLA_VENDOR=ACML_MP

Re: [CMake] FindBLAS module

2012-08-31 Thread Andreas Naumann
Am 31.08.2012 19:58, schrieb Bogdan Cristea: On Friday 31 August 2012 19:56:35 Andreas Naumann wrote: I remember the same problem, but could not figure it out. Which cmake version are you using? cmake version 2.8.6 I have read somewhere that acml5.1.0 is not supported by cmake

Re: [CMake] Relink to shared libs

2012-07-20 Thread Andreas Naumann
If you are using the Makefile system, then the libraries are newer than your tests, so your tests seems to need an update. And sometimes programs need relinking, where should the build system now, if you really need the relinking? Am 20.07.2012 14:08, schrieb Leif Walsh: Why, if I make a

Re: [CMake] SHARED library containing OBJECT library: Missing -fPIC

2012-06-22 Thread Andreas Naumann
Hello Benjamin, if you wants to use an object file for a shared library, this object file has to be compiled with -fPIC. I don't think, that it is possible to create a shared library from such object files. Regards, Andreas Am 22.06.2012 09:50, schrieb Benjamin Eikel: Hello, I have a

Re: [CMake] SHARED library containing OBJECT library: Missing -fPIC

2012-06-22 Thread Andreas Naumann
I think the latter is the case. It should not be allowed to compose a shared library from OBJECT libraries. What does the cmake developer think about this problem? Regards, Andreas Am 22.06.2012 11:14, schrieb Benjamin Eikel: Hello Andreas, Am Freitag, 22. Juni 2012, 11:09:36 schrieb Andreas

Re: [CMake] help with shared-lib make failure

2012-06-18 Thread Andreas Naumann
Am 18.06.2012 08:34, schrieb luxInteg: On Sunday 17 June 2012 14:13:00 Andreas Naumann wrote: #--build2: gs_test/results.c. build disabled near beginning but comes in ~65% of build [ 65%] Building C object Lib/CMakeFiles/gsl.dir/__/test/results.c.o cd /home/TESTS/BUILDgsl/Lib

Re: [CMake] CMake 2.7.8 cannot find boost installation While building PCL files.

2012-04-12 Thread Andreas Naumann
Hi, you could set Boost_DEBUG and Boost_DETAILED_FAILURE_MSG to true and have a look at the messages. I hope, this helps you. Andreas Am 12.04.2012 11:06, schrieb Joeri Friederich: Hi Im trying to build PCL (Point cloud library) files using Cmake. It needs a bunch if

Re: [CMake] FindPackage search priority for Boost

2012-04-11 Thread Andreas Naumann
Dear Petar, In cmake 2.8.3, you can set Boost_NO_SYSTEM_PATHS to true. Kind regards, Andreas Naumann Am 11.04.2012 15:04, schrieb Petar Marendic: Greetings, I recently noticed that FindPackage always begins its search for package Boost in /usr/lib and only thereafter in the directory

Re: [CMake] Using CMake to interface with non-CMake libraries

2011-07-24 Thread Andreas Naumann
Hey Zoey, I don't know anything about SOLID, but the errormessage means, your program needs to be linked against a library. You could ask cmake to look for your SOLID library: find_library(SOLID_LIBRARY solid) if(NOT SOLID_LIBRARY) message(ERROR please specify the library for SOLID)

Re: [CMake] Multiple install section from the same base folder

2011-07-12 Thread Andreas Naumann
You could use file(GLOB_RECURSE files *.h) or install the main directory with install(DIRECTORY ... ) and exclude every non-header file (and possibly svn..) Andreas Am 12.07.2011 05:04, schrieb Laszlo Papp: Hi, I have just realized this snippet in my CMakeLists.txt file: install(FILES

Re: [CMake] Getting file list from build directory

2011-06-26 Thread Andreas Naumann
You could run ar -x at cmake runtime using execute_process(...) and then glob the objects. If your archive is created by cmake, you could write a shell script, that unpacks the archive and do what you wants with the object files. Andreas Am 26.06.2011 07:38, schrieb Dan Furtney: I

Re: [CMake] How to compile MPI code

2011-06-22 Thread Andreas Naumann
What do you mean with "it doesn't run correctly"? Does it not even start? How do you start your program? Andreas Am 22.06.2011 12:00, schrieb M Dolores Villalobos Ortiz: Hi I'm trying to compile a main program (it contains MPI functions) using cmake. I get an

Re: [CMake] Test-specific configuration

2011-06-20 Thread Andreas Naumann
Am 21.06.2011 02:50, schrieb Tim Gallagher: Hi, I'm trying to set up automated testing of our code with CTest (we are using CMake), but I'm running into some issues I can't figure out the correct way to solve. Many of our tests require specific sets of options to be turned on/off in the

Re: [CMake] Dependencies and libraries..How does it work?

2011-06-17 Thread Andreas Naumann
, David On 17 June 2011 10:22, Andreas Naumann andreas-naum...@gmx.net wrote: Hi, how should cmake find your MY_LIB-directory? The simplest way, is to add the directory using "add_subdirectory(MY_LIB_DIR ...)" If the MY_LIB-build directory is somewhere else, in a

Re: [CMake] unexpected INSTALL problems

2011-06-15 Thread Andreas Naumann
Am 15.06.2011 14:24, schrieb Dominik Szczerba: On Wed, Jun 15, 2011 at 2:22 PM, Andreas Naumann andreas-naum...@gmx.net wrote: Am 15.06.2011 13:58, schrieb Dominik Szczerba: I am trying to copy all libboost* stuff from /usr/lib to CMAKE_INSTALL_PREFIX just as most users would guess

Re: [CMake] unexpected INSTALL problems

2011-06-15 Thread Andreas Naumann
Am 15.06.2011 14:58, schrieb Dominik Szczerba: okay, than you could use find_package(Boost YOUR_VERSION EXACT) Problem is boost has very complicated linking scenario. Using FindBoost and linking to it hardcodes the versions, because they are in the filenames! If I need to run on another

Re: [CMake] unexpected INSTALL problems

2011-06-15 Thread Andreas Naumann
Am 15.06.2011 22:16, schrieb Dominik Szczerba: I use Debian SID 64bit which is similar to Ubuntu, but not the same :) The problem (if it really is one) is that debian does ship the libraries with another naming, so FindBoost will select the library without version number. That's very

Re: [CMake] unexpected INSTALL problems

2011-06-15 Thread Andreas Naumann
Am 15.06.2011 22:28, schrieb Andreas Naumann: Am 15.06.2011 22:16, schrieb Dominik Szczerba: I use Debian SID 64bit which is similar to Ubuntu, but not the same :) The problem (if it really is one) is that debian does ship the libraries with another naming, so FindBoost will select the library

Re: [CMake] Changing definitions at compile time

2011-06-14 Thread Andreas Naumann
Am 14.06.2011 18:12, schrieb Kfir Lavi: Hi, I need to compile the code twice. Once with -DA and once with -DB My code look like this: add_definitions(-DA) add_library(${mylib_A} SHARED ${myfiles}) remove_definitions(-DA) add_definitions(-DB) add_library(${lib_B} SHARED ${myfiles})

Re: [CMake] Changing definitions at compile time

2011-06-14 Thread Andreas Naumann
Am 14.06.2011 19:26, schrieb Michael Wild: On 06/14/2011 07:12 PM, Kfir Lavi wrote: On Tue, Jun 14, 2011 at 8:04 PM, Andreas Naumann andreas-naum...@gmx.netmailto:andreas-naum...@gmx.net wrote: Am 14.06.2011 18:12, schrieb Kfir Lavi: Hi, I need to compile the code

Re: [CMake] Changing definitions at compile time

2011-06-14 Thread Andreas Naumann
Am 14.06.2011 21:26, schrieb Michael Wild: On 06/14/2011 09:12 PM, Andreas Naumann wrote: Am 14.06.2011 19:26, schrieb Michael Wild: On 06/14/2011 07:12 PM, Kfir Lavi wrote: On Tue, Jun 14, 2011 at 8:04 PM, Andreas Naumann andreas-naum...@gmx.netmailto:andreas-naum

Re: [CMake] library path stripping

2011-06-11 Thread Andreas Naumann
Am 11.06.2011 16:21, schrieb Michael Hertling: On 06/10/2011 12:57 PM, Andreas Naumann wrote: Am 10.06.2011 00:16, schrieb Michael Hertling: On 06/09/2011 08:18 AM, Andreas Naumann wrote: Am 09.06.2011 07:35, schrieb Michael Hertling: On 06/09/2011 07:13 AM

Re: [CMake] library path stripping

2011-06-10 Thread Andreas Naumann
Am 10.06.2011 00:16, schrieb Michael Hertling: On 06/09/2011 08:18 AM, Andreas Naumann wrote: Am 09.06.2011 07:35, schrieb Michael Hertling: On 06/09/2011 07:13 AM, Andreas Naumann wrote: Am 08.06.2011 20:43, schrieb Andreas Pakulat: On 08.06.11 20:00:54

Re: [CMake] library path stripping

2011-06-09 Thread Andreas Naumann
Am 09.06.2011 07:35, schrieb Michael Hertling: On 06/09/2011 07:13 AM, Andreas Naumann wrote: Am 08.06.2011 20:43, schrieb Andreas Pakulat: On 08.06.11 20:00:54, Andreas Naumann wrote: Am 08.06.2011 15:02, schrieb Eric Noulard: 2011/6/8 Andreas Naumannandreas

[CMake] library path stripping

2011-06-08 Thread Andreas Naumann
. Is there an option to avoid this splitting? Regards, Andreas Naumann ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http

Re: [CMake] library path stripping

2011-06-08 Thread Andreas Naumann
Am 08.06.2011 11:56, schrieb Eric Noulard: 2011/6/8 Andreas Naumannandreas-naum...@gmx.net: Hi @all, I have some problem with the library usage in cmake. It seems to me, that cmake removes the full path of the library, if the path is in the environment variable LIBRARY_PATH. This

Re: [CMake] library path stripping

2011-06-08 Thread Andreas Naumann
Am 08.06.2011 20:43, schrieb Andreas Pakulat: On 08.06.11 20:00:54, Andreas Naumann wrote: Am 08.06.2011 15:02, schrieb Eric Noulard: 2011/6/8 Andreas Naumannandreas-naum...@gmx.net: Am 08.06.2011 11:56, schrieb Eric Noulard: 2011/6/8 Andreas Naumannandreas-naum