Changeset 19972


Ignore:
Timestamp:
Jul 26, 2020, 7:57:42 PM (3 weeks ago)
Author:
tbretz
Message:
this hopefully fixed a problem with a namspace clash with boost headers (basic_socket_streambuf.hpp error: ‘stdscr’ is not a type).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/CMakeLists.txt

    r19927 r19972  
    144144SET(CURSES_NEED_NCURSES ON)
    145145FIND_PACKAGE(Curses   REQUIRED)  # CURSES_FOUND
     146# Newer boost versions use timeout which is defined in ncurses.h
     147# see for example: https://stackoverflow.com/questions/55265851/getting-errors-when-trying-to-compile-program-using-boost-and-ncurses-libraries
     148ADD_DEFINITIONS(-DNCURSES_NOMACROS)
    146149# FIXME : Require  panel
    147150
Note: See TracChangeset for help on using the changeset viewer.