Homec4science

It seems like CMAKE_CXX_FLAGS is getting double appended when building as a…

Authored by Jacob Schloss <jschloss@swiftengineering.com> on Aug 22 2018, 20:17.

Description

It seems like CMAKE_CXX_FLAGS is getting double appended when building as a nested cmake project, which breaks my build as gcc does not allow -specs=nosys.specs to be called multiple times.

Removing this fixes it and seems to keep the same compile options, just removing the duplicate definition.

Details

Event Timeline

Jacob Schloss <jschloss@swiftengineering.com> committed R9484:6e7980164593: It seems like CMAKE_CXX_FLAGS is getting double appended when building as a… (authored by Jacob Schloss <jschloss@swiftengineering.com>).Aug 22 2018, 20:17