build: Try to clean up bundled dependencies a bit

This commit is contained in:
WerWolv
2023-01-04 12:34:38 +01:00
parent e6bec7d2b2
commit eb4a1e2692
7 changed files with 106 additions and 102 deletions

View File

@@ -31,9 +31,9 @@ set_target_properties(main PROPERTIES
add_compile_definitions(IMHEX_PROJECT_NAME="${PROJECT_NAME}")
if (WIN32)
target_link_libraries(main PRIVATE usp10 libimhex libromfs-imhex wsock32 ws2_32 Dwmapi.lib)
target_link_libraries(main PRIVATE usp10 libromfs-imhex wsock32 ws2_32 Dwmapi.lib libimhex ${FMT_LIBRARIES})
else ()
target_link_libraries(main PRIVATE libimhex libromfs-imhex pthread)
target_link_libraries(main PRIVATE libromfs-imhex pthread libimhex)
endif ()
if (APPLE)