1
0
mirror of synced 2024-09-24 19:48:25 +02:00

build: Fix non-Windows build

This commit is contained in:
WerWolv 2023-02-01 09:38:03 +01:00
parent 4c761df181
commit 79ecf7fa59
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -184,6 +184,8 @@ macro(createPackage)
install(TARGETS ${plugin} LIBRARY DESTINATION ${PLUGINS_INSTALL_LOCATION})
endif ()
endif ()
add_dependencies(imhex ${plugin})
endif ()
endforeach()