CI/Flatpak: Improve install behaviour
Use "standard" install path.
This commit is contained in:
@ -215,7 +215,9 @@ function(add_core_resources target)
|
||||
add_resources(${target} ${path} ${CMAKE_SOURCE_DIR}/data/resources/)
|
||||
endforeach()
|
||||
if(ALLOW_INSTALL)
|
||||
install_imported_dep_library(cpuinfo::cpuinfo)
|
||||
install(DIRECTORY "$<TARGET_FILE_DIR:${target}>/resources" DESTINATION "${CMAKE_INSTALL_PREFIX}")
|
||||
if(INSTALL_SELF_CONTAINED)
|
||||
install_imported_dep_library(cpuinfo::cpuinfo)
|
||||
endif()
|
||||
install(DIRECTORY "$<TARGET_FILE_DIR:${target}>/resources" DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user