Skip to content

Commit

Permalink
only build irq examples when able
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Jan 24, 2022
1 parent 0f8711f commit 67b4f70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ endif()

if("${RF24_DRIVER}" STREQUAL "MRAA" OR "${RF24_DRIVER}" STREQUAL "wiringPi")
message(STATUS "skipping gwNodeInt example because it is incompatible with selected driver")
elseif(NOT DEFINED RF24_NO_INTERRUPT)
elseif(NOT "${LibPIGPIO}" STREQUAL "LibPIGPIO-NOTFOUND" AND NOT DEFINED RF24_NO_INTERRUPT)
add_subdirectory(gwNodeInt)
endif()

Expand All @@ -80,7 +80,7 @@ if(BUILD_NCURSES_EXAMPLE)
add_subdirectory(ncurses)
if("${RF24_DRIVER}" STREQUAL "MRAA" OR "${RF24_DRIVER}" STREQUAL "wiringPi")
message(STATUS "skipping ncursesInt example because it is incompatible with selected driver")
elseif(NOT DEFINED RF24_NO_INTERRUPT)
elseif(NOT "${LibPIGPIO}" STREQUAL "LibPIGPIO-NOTFOUND" AND NOT DEFINED RF24_NO_INTERRUPT)
add_subdirectory(ncursesInt)
endif()
endif()

0 comments on commit 67b4f70

Please # to comment.