Skip to content

Commit

Permalink
cmake-format
Browse files Browse the repository at this point in the history
  • Loading branch information
berquist committed Mar 5, 2024
1 parent e474d19 commit 5d0b928
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions experimental/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,16 @@ if(NOT SST_DISABLE_ZLIB)
find_package(ZLIB)
endif()

option(SST_DISABLE_CURSES "Use curses library (needed for interactive sst-info)" OFF)
option(SST_DISABLE_CURSES
"Use curses library (needed for interactive sst-info)" OFF)
if(NOT SST_DISABLE_CURSES)
# https://gitlab.kitware.com/cmake/cmake/-/issues/23236
set(CURSES_NEED_NCURSES 1)
find_package(Curses)
if(NOT CURSES_HAVE_NCURSES_H)
message(FATAL_ERROR "Curses was found, but the specific header <ncurses.h> was not")
message(
FATAL_ERROR
"Curses was found, but the specific header <ncurses.h> was not")
endif()
endif()

Expand Down

0 comments on commit 5d0b928

Please sign in to comment.