Re: [CMake] How to get current visualstudio version?

2015-12-27 Thread Xi Shen
Strange, the FindBoost module expects boost libraries start with "boost_" by default. But the libraries I got from the default build configuration start with "libboost_". No wonder it did not work the first I tried. Thanks, David On Mon, Dec 28, 2015 at 1:15 PM Xi Shen wrote: > Yes, the offic

Re: [CMake] How to get current visualstudio version?

2015-12-27 Thread Xi Shen
Yes, the official FindBoost works better xD On Fri, Dec 25, 2015 at 8:40 PM Nils Gladitz wrote: > On 25.12.2015 10:36, Xi Shen wrote: > > Hi, > > > > I know I can check MSVC to determine if the Visual Studio generator is > > used. But how do I find out which version is been used? > > MSVC indic

Re: [CMake] still having rpath problems on osx

2015-12-27 Thread Michael Jackson
> On Dec 24, 2015, at 2:24 AM, Boudewijn Rempt wrote: > > On Wed, 23 Dec 2015, Michael Jackson wrote: > >>> >>> Hm... Okay -- so, since I all my dependencies myself as cmake external >>> projects, I guess I want all of them set to rpath. I guess that for boost, >>> with its own build system

[CMake] How to check if CMake install script is being run by CPack?

2015-12-27 Thread Nazar Mishturak
Hi, I am new here! I have a problem with my install(SCRIPT), it does fixup_bundle for all targets under ${CMAKE_INSTALL_PREFIX} and strip & upx all executables + .dlls under it. But I want to do upx and strip only when I am creating a package(make package, not make install). I have tried using: if