| Summary: | CMake error when boost filesystem is missing | ||
|---|---|---|---|
| Product: | [Applications] Heaptrack | Reporter: | Thomas McGuire <mcguire> |
| Component: | general | Assignee: | Milian Wolff <mail> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
this should be fixed by now, the code now reads:
if ("${Boost_FILESYSTEM_FOUND}" AND "${Boost_SYSTEM_FOUND}")
|
When boost-filesystem is not installed, I get the following CMake error when trying to build heaptrack: CMake Error at tests/auto/CMakeLists.txt:20 (if): if given arguments: "AND" "ON" Unknown arguments specified The error disappears when installing boost-filesystem. I expect that a missing boost-filesystem dependency is listed as a failed dependency in a more user-friendly way.