Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,806
    • Issues 3,806
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMake
  • CMakeCMake
  • Issues
  • #17582

Closed
Open
Created Dec 19, 2017 by IanS5@IanS5

write_compiler_detection_header writes a relative path

write_compiler_detection_header writes what looks like a full path into the build directory.

for example what should be /home/ian/path/to/cpp-proj/build/${OUTPUT_DIR} is written as /home/ian/path/to/cpp-proj/build/home/ian/path/to/cpp-proj/build/${OUTPUT_DIR}

the variable OUTPUT_FILES_VAR reports the file has been written to /home/ian/path/to/cpp-proj/build/${OUTPUT_DIR}

This is on CMake 3.10.1–1 on archlinux (cmake came from this pacman repo)

Edited Dec 19, 2017 by IanS5
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking