You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Alex Clemmer (JIRA)" <ji...@apache.org> on 2016/12/07 01:02:49 UTC

[jira] [Created] (MESOS-6736) CMake's `CURRENT_CMAKE_BUILD_DIR` does not escape '\'

Alex Clemmer created MESOS-6736:
-----------------------------------

             Summary: CMake's `CURRENT_CMAKE_BUILD_DIR` does not escape '\'
                 Key: MESOS-6736
                 URL: https://issues.apache.org/jira/browse/MESOS-6736
             Project: Mesos
          Issue Type: Bug
            Reporter: Alex Clemmer
            Assignee: Alex Clemmer


To signal to Mesos what the current build directory is, CMake build will pass in a preprocessor definition flag `-DBUILD_DIR="${CURRENT_CMAKE_BUILD_DIR}"`. On Windows, the slashes aren't escaped, and the result is that the build directory gets garbled, because the path APIs think we're trying to escape the first character of every path component.

The same goes for `SOURCE_DIR`.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)