set(CG_CONFIG_IN_PATH ${CMAKE_CURRENT_LIST_DIR})

function(target_use_root_as_cwd)

    configure_file(${CG_CONFIG_IN_PATH}/use_root_as_cwd.h.in cgfw/use_root_as_cwd.h)
    include_directories(${PROJECT_BINARY_DIR})

endfunction(target_use_root_as_cwd)
