Re: [CMake] using variables in ExternalProject_Add arguments

2019-06-22 Thread Kris Thielemans
Dear all I've managed to resolve this. My mistake was to use quotes: WRONG: set(HDF5_CMAKE_ARGS "-DHDF5_ROOT:PATH=${HDF5_ROOT} -DHDF5_INCLUDE_DIRS:PATH=${HDF5_INCLUDE_DIRS} -DHDF5_FIND_DEBUG:BOOL=ON" ) CORRECT: set(HDF5_CMAKE_ARGS -DHDF5_ROOT:PATH=${HDF5_

Re: [CMake] Multiple exports for a target installation

2019-06-22 Thread Craig Scott
On Tue, Jun 18, 2019 at 10:29 AM Shoaib Meenai wrote: > Thank you! > > > > When you say having an export set that the other exports then depend on, > do you mean the COMPONENT option of the install(EXPORT) signature, or > something else? (Sadly the project I’m working with is still on CMake > 3.4