1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-18 07:07:45 +00:00

Link to libunshield explicitly on non-Windows systems

This commit is contained in:
Joshua Goins 2024-04-26 14:41:37 -04:00
parent fc8edcd810
commit d70f70fdd5

View file

@ -28,6 +28,7 @@ else()
find_package(PkgConfig REQUIRED) find_package(PkgConfig REQUIRED)
pkg_check_modules(UNSHIELD REQUIRED IMPORTED_TARGET libunshield) pkg_check_modules(UNSHIELD REQUIRED IMPORTED_TARGET libunshield)
target_link_directories(physis INTERFACE ${UNSHIELD_LIBRARY_DIRS}) target_link_directories(physis INTERFACE ${UNSHIELD_LIBRARY_DIRS})
target_link_libraries(physis INTERFACE ${UNSHIELD_LIBRARIES})
endif() endif()
set(KDSingleApplication_QT6 ON) set(KDSingleApplication_QT6 ON)