Re: [CMake] Suddendly missing members when compiling on macOS Mojave

2019-11-09 Thread Ruben Di Battista
orm/Developer/SDKs/MacOSX10.15.sdk   Creating a brand new build directory fixed the problem, since the cached information concerning the compiler environment was invalid. Regards, Juan On Fri, Nov 8, 2019 at 10:18 AM Ruben Di Battista wrote: Hello,  Tryign to compile a project that bu

[CMake] Suddendly missing members when compiling on macOS Mojave

2019-11-08 Thread Ruben Di Battista
Hello,  Tryign to compile a project that built correctly since now. I guess something changed on my system, and now I’m getting this error:  Scanning dependencies of target Mercurve /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/libs/CMakeFiles/Mercurve.dir/build.make

Re: [CMake] How do I get ExternalProject_Add to install libs/programs with sudo access

2019-06-23 Thread Ruben Di Battista
If I’m not mistaken, you should be able to change the install prefix using the CMAKE_ARGS option in the Configure step. This is my ExternalProject_Add I use to download third party stuff. Things enclosed by @ are replaced at configure time by correct names/URLs.  ``` ExternalProject_Add(    

Re: [CMake] Why does CMake 3.9.0 open VS2017 when targeting 2013 after installing 2017... sigh.

2018-08-14 Thread Ruben Di Battista
What about switching to Linux? It generally does what you tell it to do. :) (Just wanted to release a bit the tension here… Dunno how effective it is...) _ -. .´ | ', ;|∞∞ ˜˜ |∞ RdB ,.,|∞∞ .' '. | -' `’ https://rdb.is On 15 agosto

Re: [CMake] LD_LIBRARY_PATH not used by the linker

2018-08-02 Thread Ruben Di Battista
VTK support imported targets?) > > Regards, > Roger > > On 02/08/18 20:43, Ruben Di Battista wrote: > > Hi Roger, > > so I explicitly passing the LDFLAGS is the way to go? > > > > On Thu, Aug 2, 2018 at 9:41 PM Roger Leigh > <mailto:rle...@code

Re: [CMake] LD_LIBRARY_PATH not used by the linker

2018-08-02 Thread Ruben Di Battista
Hi Roger, so I explicitly passing the LDFLAGS is the way to go? On Thu, Aug 2, 2018 at 9:41 PM Roger Leigh wrote: > On 02/08/18 20:03, Ruben Di Battista wrote: > > > I'm running cmake on a system where I have module-loaded software such > > that `LD_LIBRARY_PATH` gets popul

[CMake] LD_LIBRARY_PATH not used by the linker

2018-08-02 Thread Ruben Di Battista
Hello, I'm running cmake on a system where I have module-loaded software such that `LD_LIBRARY_PATH` gets populated by the module (actually I'm using Lmod) function. In my project, I have a dependency on VTK, and VTK could be compiled with Python wrapping. This is what I have in my main