Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EnableCompilerFlag: Support multiple space-separated flags
This allows correct detection of linker noexecstack support. When testing for support of multiple flags, the flags must be a list of values separated by semicolons, not a string of values separated by spaces. See https://gitlab.kitware.com/cmake/cmake/-/issues/26024 Enclose the flaglist variable in quotation marks when calling CHECK_*_FLAG so that it is passed through unmodified. After it is determined that a flag is supported, it is still the string version of the flag variable that is appended to the corresponding CMAKE_*_FLAGS variable. Closes facebook#4056
- Loading branch information