diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-30 22:29:26 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-30 22:29:26 +0530 |
commit | 2735cc7eadcc84aaf3954930a78dbb63da3cca44 (patch) | |
tree | 15856808838af185e6377ad23b382c059b5bf029 | |
parent | d845fb38b0fb4c3b11838f0a211dd63c24cc9999 (diff) |
build: suppress warnings from discount
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 084d2c5..88bc17e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,9 +39,13 @@ target_include_directories(msg PRIVATE include) target_include_directories(msg PRIVATE discount) target_link_libraries(msg libmarkdown) -target_compile_options(libmarkdown PRIVATE - $<$<COMPILE_LANGUAGE:C>: -w> -) +# The compiler isn't very happy with discount +target_compile_options(libmarkdown PRIVATE -w) +target_compile_options(mkd2html PRIVATE -w) +target_compile_options(makepage PRIVATE -w) +target_compile_options(markdown PRIVATE -w) +target_compile_options(common PRIVATE -w) + target_compile_options(msg PRIVATE $<$<COMPILE_LANGUAGE:C>: ${C_COMPILE_OPTIONS}> ) |