From 0d11a301b1263dc48742f53d92a0ec771761ad7a Mon Sep 17 00:00:00 2001 From: Dmitry Baryshev Date: Wed, 6 Oct 2021 22:22:12 +0300 Subject: [PATCH] SAIL: Install PDB files with MSVC only --- cmake/sail_install_pdb.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/sail_install_pdb.cmake b/cmake/sail_install_pdb.cmake index 6b6b15e5..2504e864 100644 --- a/cmake/sail_install_pdb.cmake +++ b/cmake/sail_install_pdb.cmake @@ -3,7 +3,7 @@ macro(sail_install_pdb) cmake_parse_arguments(SAIL_INSTALL_PDB "" "TARGET" "" ${ARGN}) - if (NOT SAIL_STATIC) + if (MSVC AND NOT SAIL_STATIC) install(FILES $ DESTINATION bin OPTIONAL) endif() endmacro()