Skip to content

Commit

Permalink
CMake: don't run rgbbg unless we built it
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Mar 3, 2024
1 parent d88f40b commit fb7b132
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -906,11 +906,14 @@ add_test(
NAME rgb
COMMAND rgb
)
LIST(APPEND TESTBINS notcurses-info sgr-direct sgr-full rgb)
if(${USE_CXX})
add_test(
NAME rgbbg
COMMAND rgbbg
)
LIST(APPEND TESTBINS notcurses-info sgr-direct sgr-full rgb rgbbg)
LIST(APPEND TESTBINS rgbbg)
endif()
if(${USE_QRCODEGEN})
add_test(
NAME qrcode
Expand Down

0 comments on commit fb7b132

Please sign in to comment.