From 868ddce1bd2ec018d200909c61403b03f59be291 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sun, 21 Feb 2021 16:46:52 +0100 Subject: [PATCH] make WinToast link PRIVATE --- src/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c332b6e78..9acebb8d4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -271,7 +271,9 @@ target_link_libraries(${PROJECT_NAME} ) if (WinToast_FOUND) - target_link_libraries(${PROJECT_NAME} WinToast) + target_link_libraries(${PROJECT_NAME} + PRIVATE + WinToast) endif () if (USE_PACKAGE_MANAGER)