mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
CMake: don't run PoC tests with USE_POC=off
This commit is contained in:
parent
4d7941f1b9
commit
af46b2aab6
@ -554,7 +554,7 @@ if(${BUILD_TESTING})
|
||||
set(CMAKE_CTEST_ARGUMENTS "-V")
|
||||
enable_testing()
|
||||
# the accursed Ubuntu buildd sets "TERM=unknown" for unfathomable reasons
|
||||
if(DEFINED ENV{TERM} AND NOT $ENV{TERM} STREQUAL "unknown")
|
||||
if(DEFINED ENV{TERM} AND NOT $ENV{TERM} STREQUAL "unknown" AND USE_POC)
|
||||
add_test(
|
||||
NAME ncpp_build
|
||||
COMMAND ncpp_build
|
||||
|
Loading…
x
Reference in New Issue
Block a user