Skip to content

Commit

Permalink
Turning off unused check on intentionally unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch committed Feb 6, 2025
1 parent 93f584e commit 0083475
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Fw/Types/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/GTest")

# Create an empty interface library and use it to register an implementation
add_library(snprintf-format ${VALID_EMPTY})
# Must surpress empty library warnings
target_compile_options(snprintf-format PRIVATE $<$<COMPILE_LANGUAGE:CXX>:-Wno-unused-const-variable>)
register_fprime_implementation(Fw_StringFormat snprintf-format "${CMAKE_CURRENT_LIST_DIR}/snprintf_format.cpp")

0 comments on commit 0083475

Please sign in to comment.