Skip to content
Snippets Groups Projects
Commit 99e4bbef authored by Andreas Dedner's avatar Andreas Dedner
Browse files

Merge branch 'fix/packageDataFolderGeneric' into 'master'

Fix/package data folder generic

See merge request !1254

(cherry picked from commit fa23cf44)

f85e7e6d fix skbuild metadata installation path
parent 43cd9f16
1 merge request!1255Merge branch 'fix/packageDataFolderGeneric' into 'master'
Pipeline #61914 passed
Pipeline: Dune Nightly Test

#61917

    ......@@ -391,7 +391,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.
    Please register or to comment