[cmake-developers] [CMake 0014990]: UseSWIG.cmake use wrong filenames for Python

Mantis Bug Tracker mantis at public.kitware.com
Wed Jun 25 10:22:15 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14990 
====================================================================== 
Reported By:                Garth Wells
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14990
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-06-25 10:22 EDT
Last Modified:              2014-06-25 10:22 EDT
====================================================================== 
Summary:                    UseSWIG.cmake use wrong filenames for Python
Description: 
The change in http://www.cmake.org/Bug/view.php?id=13318 is not correct, since
the conditional on line 60

    if (CMAKE_SWIG_FLAGS MATCHES "-noproxy")

will evaluate to true for the SWIG flag "-noproxydel". The consequence is the
module libraries will not be prepended with an underscore and the resulting SWIG
code cannot be used.

Using 

    if (CMAKE_SWIG_FLAGS MATCHES "-noproxy;")

appears to work, but I don't know if this is a robust solution.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-06-25 10:22 Garth Wells    New Issue                                    
======================================================================



More information about the cmake-developers mailing list