1
0
mirror of synced 2024-11-28 01:20:51 +01:00

build: Fixed flatpak build issues

This commit is contained in:
WerWolv 2023-02-12 21:55:09 +01:00
parent 4d60942fea
commit e426606542
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ addBundledLibraries()
# Add ImHex sources # Add ImHex sources
add_subdirectory(lib/libimhex) add_subdirectory(lib/libimhex)
add_subdirectory(main) add_subdirectory(main)
add_custom_target(imhex ALL DEPENDS main libimhex) add_custom_target(imhex_all ALL DEPENDS main libimhex)
# Add unit tests # Add unit tests
enable_testing() enable_testing()

View File

@ -185,7 +185,7 @@ macro(createPackage)
endif () endif ()
endif () endif ()
add_dependencies(imhex ${plugin}) add_dependencies(imhex_all ${plugin})
endif () endif ()
endforeach() endforeach()
@ -269,7 +269,7 @@ macro(createPackage)
install(FILES $<TARGET_FILE:main> DESTINATION "${IMHEX_BUNDLE_PATH}") install(FILES $<TARGET_FILE:main> DESTINATION "${IMHEX_BUNDLE_PATH}")
# Update library references to make the bundle portable # Update library references to make the bundle portable
postprocess_bundle(imhex main) postprocess_bundle(imhex_all main)
# Enforce DragNDrop packaging. # Enforce DragNDrop packaging.
set(CPACK_GENERATOR "DragNDrop") set(CPACK_GENERATOR "DragNDrop")