From f1ba95bb233882dc8e155338c607259bf10587b3 Mon Sep 17 00:00:00 2001 From: APTX Date: Thu, 23 Nov 2017 22:27:48 +0900 Subject: [PATCH] Try to install pdb files only on windows --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 78fd11d..8126683 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -220,7 +220,9 @@ install(TARGETS AniDBUdpClient INCLUDES DESTINATION include PUBLIC_HEADER DESTINATION include/AniDBUdpClient ) -install(FILES $ DESTINATION bin OPTIONAL) +if(WIN32) + install(FILES $ DESTINATION bin OPTIONAL) +endif() install(EXPORT AniDBUdpClientTargets FILE AniDBUdpClientTargets.cmake -- 2.52.0