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

2017-12-23 Thread Bo Zhou
https://cmake.org/cmake/help/v3.0/command/find_path.html Please try to pass the NO_CMAKE_SYSTEM_PATH to find_path() and find_library(), but use the HINT to pass the path to thirdparty paths. Of course use the CMAKE_VERBOSE_MAKEFILE to check the log. At the last check the CMakeCache.txt to verify

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

2017-12-23 Thread Alan W. Irwin
On 2017-12-23 10:47+0100 Andreas Naumann wrote: 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 s

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". Inte

[CMake] how to add a test that calls ctest

2017-12-23 Thread Kris Thielemans
Hi We have a superbuild-type project https://github.com/CCPPETMR/SIRF-SuperBuild where we want to add tests that call ctest for the dependent projects. We do this as COMMAND ${CMAKE_CTEST_COMMAND} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/SIRF-prefix/src/SIRF-build/)

Re: [CMake] ExternalProject_Add and Git Update? How do I make these work?

2017-12-23 Thread Kris Thielemans
Hi The strange thing here is Cannot rebase: You have unstaged changes. Please commit or stash them. No rebase in progress? Why would it be rebasing? Maybe a local config setting that a pull is always pull --rebase? In any case, my guess is that your discount/Source is in a funny state compare to