Hello,<br><br>I have the following in my Cmakelists.txt file:<br><br> set_target_properties( MyApp PROPERTIES STATIC_LIBRARY_FLAGS "${SOME_LIB_FILENAME}")<br><br><div>If the SOME_LIB_FILENAME path includes white space such as</div>
<div><br></div><div>c:/Projects/Foo 4/Src/somelib.lib<br></div><br>the generated visual studio 2008 file includes the following fragment:<br><br> <Tool Name="VCLibrarianTool"<br> AdditionalOptions="'"C:/Projects/Foo<br>
4/Src/somelib.lib"'"<br><br>Please notice the linebreak after Foo, this causes the linker to fail, saying it can not find "C:/Projects/Foo".<br><br>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.<br>
<br><div>Any ideas?<br></div><div><br></div><div>Paul</div><br>