Setting CMAKE_C_FLAGS_DEBUG does not work as first expected: - set(... CACHE) didn't do anything because the variables were initialized previously - We could set with FORCE but then users could not change the value - There is a way to only do that on initial cmake run but it has the same problem Thus, use a new regular cache variable directly instead Change-Id: I20741fb385c171c6c1088bbd6c25666067e07288
7.7 KiB
7.7 KiB