[pcre-dev] [Bug 698] New: ncurses library not added when lin…

Top Page
Delete this message
Author: Daniel Bergström
Date:  
To: pcre-dev
New-Topics: [pcre-dev] [Bug 698] ncurses library not added when linking pcretest
Subject: [pcre-dev] [Bug 698] New: ncurses library not added when linking pcretest
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=698
           Summary: ncurses library not added when linking pcretest
           Product: PCRE
           Version: N/A
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: daniel@???
                CC: pcre-dev@???



Compiling PCRE 7.6 on a Windows XP SP2 with Microsoft Visual Studio 2008.

When linking the pcretest utility, and the ncurses library is specified, it is
not added to the list of libraries to link with. The library was added using
the NCURSES_LIBRARY:FILEPATH option to cmake. However, if replacing the line
below in CMakeList.txt:183:

SET(PCRETEST_LIBS ${READLINE_LIBRARY})

with

SET(PCRETEST_LIBS ${READLINE_LIBRARY} ${NCURSES_LIBRARY})

it links successfully.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email