Re: [CMake] Bug in cmake 2.8.11 when detecting sgemm function from MKL 11.0

2013-05-28 Thread Stephen Kelly
Brad King wrote: On 05/24/2013 04:24 PM, Brad King wrote: It does not individually re-quote the library names so when the generated CMakeLists.txt file is parsed it separates on spaces. Fixed: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e65ef08b This commit causes the build of

Re: [CMake] Bug in cmake 2.8.11 when detecting sgemm function from MKL 11.0

2013-05-27 Thread Stephen Kelly
Brad King wrote: On 05/24/2013 04:24 PM, Brad King wrote: It does not individually re-quote the library names so when the generated CMakeLists.txt file is parsed it separates on spaces. Fixed: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e65ef08b Great, thanks! -- Powered by

Re: [CMake] Bug in cmake 2.8.11 when detecting sgemm function from MKL 11.0

2013-05-24 Thread Brad King
On 05/23/2013 02:58 PM, Bogdan Cristea wrote: Attached you shall find the test file Thanks, Bogdan. Stephen, I can reproduce this on Linux using code of the form include(CheckFunctionExists) set(CMAKE_REQUIRED_LIBRARIES /path/with space/libfoo.a) check_function_exists(foo HAVE_FOO) The

Re: [CMake] Bug in cmake 2.8.11 when detecting sgemm function from MKL 11.0

2013-05-24 Thread Brad King
On 05/24/2013 04:24 PM, Brad King wrote: It does not individually re-quote the library names so when the generated CMakeLists.txt file is parsed it separates on spaces. Fixed: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e65ef08b -Brad -- Powered by www.kitware.com Visit other

Re: [cmake-developers] [CMake] Bug in cmake 2.8.11 when detecting sgemm function from MKL 11.0

2013-05-23 Thread Brad King
On 05/23/2013 12:59 PM, Bogdan Cristea wrote: I have noticed that the latest cmake release, 2.8.11, does not detect sgemm using check_function_exists macro from mkl_rt.lib library. The error message says; Cannot find C:\Program.obj It seems to me that the paths with spaces are no longer

[CMake] Bug in cmake 2.8.11 when detecting sgemm function from MKL 11.0

2013-05-23 Thread Bogdan Cristea
Hi I have noticed that the latest cmake release, 2.8.11, does not detect sgemm using check_function_exists macro from mkl_rt.lib library. The error message says; Cannot find C:\Program.obj It seems to me that the paths with spaces are no longer handled correctly. Installing the previous

Re: [CMake] Bug in cmake 2.8.11 when detecting sgemm function from MKL 11.0

2013-05-23 Thread Brad King
On 05/23/2013 12:59 PM, Bogdan Cristea wrote: I have noticed that the latest cmake release, 2.8.11, does not detect sgemm using check_function_exists macro from mkl_rt.lib library. The error message says; Cannot find C:\Program.obj It seems to me that the paths with spaces are no longer

Re: [CMake] Bug in cmake 2.8.11 when detecting sgemm function from MKL 11.0

2013-05-23 Thread Stephen Kelly
Bogdan Cristea wrote: Hi I have noticed that the latest cmake release, 2.8.11, does not detect sgemm using check_function_exists macro from mkl_rt.lib library. The error message says; Cannot find C:\Program.obj It seems to me that the paths with spaces are no longer handled correctly.

Re: [CMake] Bug in cmake 2.8.11 when detecting sgemm function from MKL 11.0

2013-05-23 Thread Bill Hoffman
On 5/23/2013 1:48 PM, Stephen Kelly wrote: Hi I have noticed that the latest cmake release, 2.8.11, does not detect sgemm using check_function_exists macro from mkl_rt.lib library. The error message says; Cannot find C:\Program.obj It seems to me that the paths with spaces are no longer

Re: [CMake] Bug in cmake 2.8.11 when detecting sgemm function from MKL 11.0

2013-05-23 Thread Stephen Kelly
Bill Hoffman wrote: On 5/23/2013 1:48 PM, Stephen Kelly wrote: Hi I have noticed that the latest cmake release, 2.8.11, does not detect sgemm using check_function_exists macro from mkl_rt.lib library. The error message says; Cannot find C:\Program.obj It seems to me that the paths

Re: [CMake] Bug in cmake 2.8.11 when detecting sgemm function from MKL 11.0

2013-05-23 Thread Bogdan Cristea
Hi Attached you shall find the test file (note that you need to install MKL 11.0). I have used Windows 8 x86_64 and Visual Studio 2010 x86. The problem seems to be in the way the variable CMAKE_REQUIRED_LIBRARIES is parsed. The commented line represents a different error case. With cmake v2.8.10