[CMake] absolute include paths to resource compiler

jesper at eskilson.se jesper at eskilson.se
Thu Dec 4 05:57:15 EST 2008


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.


-- 
/Jesper



More information about the CMake mailing list