[cmake-developers] [CMake 0011647]: Mangled CMAKE_MODULE_PATH value (via CURL project)

Mantis Bug Tracker mantis at public.kitware.com
Thu Dec 30 17:42:31 EST 2010


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11647 
====================================================================== 
Reported By:                Far McKamey
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11647
Category:                   CMake
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-12-30 17:42 EST
Last Modified:              2010-12-30 17:42 EST
====================================================================== 
Summary:                    Mangled CMAKE_MODULE_PATH value (via CURL project)
Description: 
cmake version 2.6-patch 4

Cross compiling CURL using CMAKE. This appears to be a CMAKE issue though. 

Error at CMakeLists.tx:189 

Error Text:
CMake Error at CMakeLists.txt:189 (include):
  include could not find load file:

    /home/far/dev_puma/git_managed/curl/CMake;/CheckTypeSize.cmake


At run time include value evaluates to be 
"/home/far/dev_puma/git_managed/curl/CMake;/CheckTypeSize.cmake"
which is wrong, I'm assuming it should be
"/home/far/dev_puma/git_managed/curl/CMake/CheckTypeSize.cmake"

text of CMakeLists.txt:188 
if(CMAKE_CROSSCOMPILING)
  include ("${CMAKE_MODULE_PATH}/CheckTypeSize.cmake")

CMAKE_MODULE_PATH is generated at CMakeLists.txt:21

CMakeLists.txt:21
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake;${CMAKE_MODULE_PATH}")

:. on my local build, if I change CMakeLists.txt:21 to be
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake")

it compiles.

Additional Information: 
dunnkown if this is your or cURL, but it seems to be part of the CMAKE system. 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-30 17:42 Far McKamey    New Issue                                    
======================================================================




More information about the cmake-developers mailing list