[CMake] absolute include paths to resource compiler

Bill Hoffman bill.hoffman at kitware.com
Thu Dec 4 08:48:05 EST 2008


jesper at eskilson.se wrote:
> Due to some weirdness in Visual Studio, I need to be able to give the
> resource compiler an absolute path:
> 
>   rc ... -I${CMAKE_SOURCE_DIR}/include
> 
> If I put
> 
>   include_directories(${CMAKE_SOURCE_DIR}/include)
> 
> CMake converts the absolute path to a relative one.
> 
> 
What is the weirdness?   It should work without a full path?

-Bill


More information about the CMake mailing list