[cmake-developers] [CMake 0012548]: check_function_exists failed to check the existence of functions when specified "Watcom WMake"

Mantis Bug Tracker mantis at public.kitware.com
Sun Oct 30 08:26:47 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12548 
====================================================================== 
Reported By:                Hong Xu
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12548
Category:                   Modules
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-10-30 08:26 EDT
Last Modified:              2011-10-30 08:26 EDT
====================================================================== 
Summary:                    check_function_exists failed to check the existence
of functions when specified "Watcom WMake"
Description: 
check_function_exists failed to check the existence of functions when specified
"Watcom WMake". When checking strdup, it reports it is not found, however,
strdup does exist.

Steps to Reproduce: 
Add this line to CMakeLists:

check_function_exists(strdup HAVE_STRDUP)

then:

cmake . -G "Watcom WMake"

HAVE_STRDUP is not set.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-10-30 08:26 Hong Xu        New Issue                                    
======================================================================




More information about the cmake-developers mailing list