mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 21:47:40 -05:00
build: Fix various issues with linking, clang and unity builds
This commit is contained in:
@@ -5,7 +5,6 @@ include(ImHexPlugin)
|
||||
macro(addOptionalLibrary package library)
|
||||
find_package(${package})
|
||||
if (${package}_FOUND)
|
||||
set_property(TARGET ${package}::${library} PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
string(TOUPPER ${package} PACKAGE)
|
||||
set(LIBRARIES ${LIBRARIES} ${package}::${library})
|
||||
message(STATUS "Enabling decompression support using ${package} (${${package}_VERSION})")
|
||||
|
||||
Reference in New Issue
Block a user