- Package:
- src:antimony
- Source:
- src:antimony
- Submitter:
- Emanuele Rocca
- Date:
- 2025-03-05 13:51:02 UTC
- Severity:
- normal
Hi,
antimony currently hardcodes CXXFLAGS in CMakeLists.txt.
Please consider appending to CXXFLAGS instead, to ensure the package
uses the default build flags set by dpkg-buildflags.
Something like this should do the trick:
set(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -Wall -Wextra -Werror=switch")
Thanks,
Emanuele