CMake doesn't support spaces in paths used in CMAKE_C_FLAGS_RELEASE
I can see from the generated CMakeCache.txt
that it's constructing a bogus string for CMAKE_C_FLAGS_RELEASE
, CMAKE_CXX_FLAGS_RELEASE
, and similar variables. For the -I
argument(s) it's not quoting the paths.
I assume it's getting those search paths from CMAKE_FIND_ROOT_PATH
, in my case.
I tried single quotes, double quotes, escaping spaces (\
), and every combination there-of. Nothing I do results in a valid, successful Make setup.
cmake version 3.28.1.
Edited by Wade Tregaskis