CMAKE_UNITY_BUILD_RELOCATABLE
Added in version 4.0.
This variable is used to initialize the UNITY_BUILD_RELOCATABLE property of targets when they are created. Setting it to true causes sources generated for CMAKE_UNITY_BUILD to #include the original source files using relative paths where possible.
© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/variable/CMAKE_UNITY_BUILD_RELOCATABLE.html