[cmake-developers] [CMake 0015220]: Find_package(Curses) failed for QNX 6.5 and QNX 6.6

Mantis Bug Tracker mantis at public.kitware.com
Mon Oct 27 12:10:27 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15220 
====================================================================== 
Reported By:                Anton Indrawan
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15220
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-10-27 12:10 EDT
Last Modified:              2014-10-27 12:10 EDT
====================================================================== 
Summary:                    Find_package(Curses) failed for QNX 6.5 and QNX 6.6
Description: 
When using find_package(Curses) for a cmake project compiled with the QNX 6.5 or
QNX 6.6 toolchain, cmake threw the following error:

CMake Error at /usr/local/share/cmake-3.0/Modules/FindCurses.cmake:139
(CHECK_LIBRARY_EXISTS):
  Unknown CMake command "CHECK_LIBRARY_EXISTS".
Call Stack (most recent call first):
  TestProgram/curses/CMakeLists.txt:3 (find_package)

The same error is reproducible on cmake 3.0.2.






Steps to Reproduce: 
To reproduce the issue, you have to have a QNX 6.5 or QNX 6.6 toolchain
installed.

1. Please create a simple cmake project which calls "find_package(Curses)"
project(test.curses)

find_package(Curses)

add_executable(${PROJECT_NAME} main.cpp)


2. In the main.cpp, it can just be an empty int main.



Additional Information: 
The toolchains I am using are standard QNX 6.5 and QNX 6.6 toolchains downloaded
from www.qnx.com.

The host OS is Ubuntu 12.04 64-bit.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-10-27 12:10 Anton Indrawan New Issue                                    
======================================================================



More information about the cmake-developers mailing list