Skip to content

Fix having to copy sitkSourceVersionVars.cmake from build to source for sdist #38

@blowekamp

Description

@blowekamp

To produce a valid source distribution the following file needs to be copied from a build to the SimpleITK source git submodule:

cp _skbuild/cmake-build/sitk-sb/SimpleITK-build/sitkSourceVersionVars.cmake ./SimpleITK/CMake/

If the file is not copied then the following error message occurs when compiling the sdsit:

    CMake Error at CMake/sitkSourceVersion.cmake:38 (include):
      include could not find load file:
    
        /tmp/pip-bKa1cY-build/SimpleITK/CMake/sitkSourceVersionVars.cmake
    Call Stack (most recent call first):
      Version.cmake:17 (include)
      CMakeLists.txt:25 (include)
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions