Re: [CMake] Precompiled headers path bug(?)

2011-03-14 Thread Michael Wild
On 03/14/2011 05:58 AM, Paulo Silva wrote: > Hi, > > if I do > > set(PCHDIR ../include.pch) > add_precompiled_header( ${PROJECT_NAME} ${PCHDIR}/pch.hpp ) > > an extra ../ is added to PCHDIR. Isn't this a bug. > However if I do > set(PCHDIR ../../include.pch) > or anything else nothing gets added

[CMake] Precompiled headers path bug(?)

2011-03-13 Thread Paulo Silva
Hi, if I do set(PCHDIR ../include.pch) add_precompiled_header( ${PROJECT_NAME} ${PCHDIR}/pch.hpp ) an extra ../ is added to PCHDIR. Isn't this a bug. However if I do set(PCHDIR ../../include.pch) or anything else nothing gets added. This might be a feature but for me it's working like a bug. S