Skip to content
Snippets Groups Projects
Commit f85e7e6d authored by AlexanderMueller's avatar AlexanderMueller Committed by Andreas Dedner
Browse files

fix skbuild metadata installation path

parent 6040597b
No related branches found
No related tags found
1 merge request!1254Fix/package data folder generic
Pipeline #61910 passed
Pipeline: Dune Nightly Test

#61912

    ......@@ -396,7 +396,8 @@ function(dune_link_dune_py)
    # don't need an 'install' target for the metadata since we can use the build version
    # but we need to make sure that skbuild correctly installs the
    # existing metadata file into the site-package
    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${LINKDUNEPY_CMAKE_METADATA_FILE} DESTINATION python/dune/data)
    get_filename_component(LINKDUNEPY_CMAKE_METADATA_FILE_DIR ${LINKDUNEPY_CMAKE_METADATA_FILE} DIRECTORY )
    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${LINKDUNEPY_CMAKE_METADATA_FILE} DESTINATION python/${LINKDUNEPY_CMAKE_METADATA_FILE_DIR})
    else()
    # this is the build version - keep in mind there is an install version further down
    message(STATUS "Generating the CMake metadata file at ${LINKDUNEPY_CMAKE_METADATA_FILE}")
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment