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
======================================================================
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers