From 65aec53bca6d479a72cce24dc4bcb900f5e949af Mon Sep 17 00:00:00 2001 From: Kent Russell Date: Tue, 8 Feb 2022 16:24:46 -0500 Subject: [PATCH] CMakeLists.txt: Remove unneeded dependencies These were required back due to dependency issues in earlier ROCm releases. With thunk being static now and with better dependency definitions being used, we can remove these Signed-off-by: Kent Russell Change-Id: I266a783993edf32811caf027f4289ede0cbfcb16 --- CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cf37aa5d2d..195266b2ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -191,11 +191,6 @@ if(NOT DISTRO_ID MATCHES "ubuntu") find_library(LIBGCC NAMES libgcc_s.so.1 REQUIRED) message(STATUS "LIBGCC:" ${LIBGCC}) target_link_libraries( ${HSAKMT_TARGET} PRIVATE ${LIBGCC} ) -else() - find_library(UDEV NAMES libudev.so libudev.a REQUIRED) - message(STATUS "UDEV:" ${UDEV}) - find_package(ZLIB REQUIRED) - target_link_libraries( ${HSAKMT_TARGET} PRIVATE ${ZLIB} ${UDEV} ) endif() ## Define default paths and packages.