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.

So how can I set
set(PCHDIR ../include.pch)
without having to use a softlink on the file system?

Thanks
_______________________________________________
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

Reply via email to