The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14779 
====================================================================== 
Reported By:                Domagoj Saric
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14779
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-02-28 04:30 EST
Last Modified:              2014-02-28 04:30 EST
====================================================================== 
Summary:                    CMAKE_TOOLCHAIN_FILE broken when used with child
CMake process
Description: 
When -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchainFile is specified in a child CMake
invocation from a parent CMake project the configure phase fails with a "file
not found" error reported for the specified "toolchainFile".

Steps to Reproduce: 
- load a project in CMake GUI which uses a toolchain file
- this project/CMakeLists.txt must within itself again call execute_process(
${CMAKE_COMMAND} <...> -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchainFile <...> )
- press Configure
- the child CMake invocation will fail with a "file not found error"...




Additional Information: 
The generator used was Eclipse + MinGW Makefiles...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-02-28 04:30 Domagoj Saric  New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to