Closed pierricgimmig closed 1 year ago
Indeed on macOS clang does not enable C++11 by default, and ImGui requires it. You fiw works, a slightly better solution is to set this flag only for the imgui target, in the CMakeLists that defines it:
set_target_properties(imgui PROPERTIES
CXX_STANDARD 11
CXX_STANDARD_REQUIRED ON
)
Great, thanks for the fix!
Compiling step095 on MacOS gives me:
Adding this to CMakeLists.txt fixes compilation: