build: Fixed flatpak build issues
This commit is contained in:
parent
4d60942fea
commit
e426606542
@ -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()
|
||||||
|
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user