Second followup from cmake transition.
Closes #430 (closed) , i.e bumps the minimal cmake
version to 3.11
Also in this MR:
- All libraries in the compilation step go into the "output" directory, so using them in the testing is much easier.
- Fixed missing includes for
BlackHat
- Removed hardcoded (by mistake)
/usr
prefix in theFindBlackHat.cmake
- Set the
cmake_policy(SET CMP0069 NEW)
This allows the usage of the-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON
flag, which switches on the LTO optimization.
Edited by Andrii Verbytskyi