make WinToast link PRIVATE

This commit is contained in:
Rasmus Karlsson 2021-02-21 16:46:52 +01:00
parent f03b23ccb1
commit 868ddce1bd

View file

@ -271,7 +271,9 @@ target_link_libraries(${PROJECT_NAME}
) )
if (WinToast_FOUND) if (WinToast_FOUND)
target_link_libraries(${PROJECT_NAME} WinToast) target_link_libraries(${PROJECT_NAME}
PRIVATE
WinToast)
endif () endif ()
if (USE_PACKAGE_MANAGER) if (USE_PACKAGE_MANAGER)