Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
CMake
CMake
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,225
    • Issues 3,225
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 13
    • Merge Requests 13
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMake
  • CMakeCMake
  • Issues
  • #18042

Closed
Open
Opened May 29, 2018 by John@lostbardContributor

cross compiling for mingw fails in cpack as it cant find the Wix files.

When attempting to build cmake on a Linux machine for mingw (cross compiling):

CMake Error at Source/CMakeLists.txt:989 (add_library):
  Cannot find source file:

    CPack/Wix/cmCMakeToWixPath.cxx

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx


CMake Error at Source/CMakeLists.txt:989 (add_library):
  No SOURCES given to target: CPackLib

The issue at a quick look is that the sources are in CPack/WiX/, but CMakeFileList.txt is looking for CPack/Wix/

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
3.11.3
Milestone
3.11.3 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: cmake/cmake#18042