From 97dcabd2485fc791972f2a33484e78be2cabca5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Mon, 7 Aug 2023 23:25:42 +0800 Subject: Make use of Qt5Core_LIBRARIES Qt5::Core, besides the fact that it's hardcoded and not making use of find_package's result, might fail when using HomeBrew. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 09eb54e..84a0aec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ else() add_library(q${PROJECT_NAME} SHARED ${SRCS}) endif() target_link_libraries(q${PROJECT_NAME} - Qt5::Core + ${Qt5Core_LIBRARIES} interchange ) include(GNUInstallDirs) -- cgit v1.2.3