The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14184 
====================================================================== 
Reported By:                steve.k.chiu
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14184
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-06-01 03:43 EDT
Last Modified:              2013-06-01 03:43 EDT
====================================================================== 
Summary:                    link_directories produce backslash path for mingw
Description: 
The link_directories command produce backslash path which does not work in the
mingw+ninja environment. All the others path (e.g. include path) are
forward-slash, it seems the link_directories path has been forgotten.

Steps to Reproduce: 
1. add the link_directories command to the CMakeLists.txt
2. use Ninja generator and MinGW compiler (from mingw64 project)
3. the gcc compiler complain can not find the specified library (for ex.
c:/qt/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe:
cannot find -lraw_r)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-06-01 03:43 steve.k.chiu   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