Re: [CMake] Using ExternalProject with find_library and find_path

2018-08-24 Thread Petr Kmoch
Hi Alex, the standard solution to this is to use a Superbuild approach, in which the top-level CMakeList contains *only* ExternalProject calls. That means your actual project becomes just another "external" project in this superbuild, which allows you set up all build dependencies etc. as

[CMake] Using ExternalProject with find_library and find_path

2018-08-24 Thread Alexander Dahl
Hei hei, for a standalone build without system libraries I was experimenting with the ExternalProject module today. My goal is to have some top level build project which includes several CMake projects and some external projects without relying on dev libraries installed on the system (reason are