Hello,
I have the following in my Cmakelists.txt file:
set_target_properties( MyApp PROPERTIES STATIC_LIBRARY_FLAGS
"${SOME_LIB_FILENAME}")
If the SOME_LIB_FILENAME path includes white space such as
c:/Projects/Foo 4/Src/somelib.lib
the generated visual studio 2008 file includes the following fragment:
<Tool Name="VCLibrarianTool"
AdditionalOptions="'"C:/Projects/Foo
4/Src/somelib.lib"'"
Please notice the linebreak after Foo, this causes the linker to fail,
saying it can not find "C:/Projects/Foo".
I guess this is a cmake bug, but I need to find a workaround for this one.
I am using cmake 2.8.2 on Windows 7.
Any ideas?
Paul
--
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://www.cmake.org/mailman/listinfo/cmake