4 message(FATAL_ERROR "PDCurses not (yet) supported on non-Windows platforms")
7 # Disable warnings to avoid changing 3rd party code.
8 if(CMAKE_C_COMPILER_ID MATCHES
9 "^(GNU|LCC|Clang|AppleClang|IBMClang|XLClang|XL|VisualAge|SunPro|HP|Intel|IntelLLVM|NVHPC)$")
10 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
11 elseif(CMAKE_C_COMPILER_ID STREQUAL "PathScale")
12 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -woffall")
15 add_library(cmpdcurses STATIC
73 target_include_directories(cmpdcurses PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")