Re: [CMake] Generator Expressions and FetchContent

2018-03-17 Thread Craig Scott
Can you provide a small project example that can be used to demonstrate your problem? The specifics of how you are doing things may be important. On Sun, Mar 18, 2018 at 8:12 AM, Saad Khattak wrote: > Hi, > > ExternalProject_Add builds, generates and installs and thus any generator > expression

Re: [CMake] Can't find Boost with Visual Studio 2017

2018-03-17 Thread Volker Enderlein
Hi David, Boost changed its naming scheme starting from version 1.66. So its not your fault but the FindBoost.cmake does not know how to handle the new scheme. Try to use one of the 3.11.0-rc[1-3] versions that has the proper naming scheme handling of 1.66 or use the 1.65.1 that is the last v

[CMake] Generator Expressions and FetchContent

2018-03-17 Thread Saad Khattak
Hi, ExternalProject_Add builds, generates and installs and thus any generator expressions used will be expanded by the time another library uses it. For example, if I add a library LibA using ExternalProject_Add, I can then query the target property INTERFACE_INCLUDE_DIRECTORIES and get the inclu

[CMake] Can't find Boost with Visual Studio 2017

2018-03-17 Thread David Demelier
Hello all, I've built Booost 1.66 on Windows with Visual Studio 2017 using the following invocation: .\b2 link=shared runtime-link=shared threading=multi toolset=msvc variant=debug address-model=64 install --prefix=C:/env/vs/amd64d T