From: apn Date: Thu, 24 May 2018 13:54:00 +0000 (+0300) Subject: 0029266: Configuration - CMake install does not copy pdb files in Debug mode due... X-Git-Tag: V7_3_0~5 X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff_plain;h=6acbb1c641edb0587d05b6fabed0ae11ec228d70 0029266: Configuration - CMake install does not copy pdb files in Debug mode due to the changes in 0028287 Define variable "OCCT_INSTALL_BIN_LETTER" only if compiler is some version of Microsoft Visual C. --- diff --git a/adm/cmake/occt_macros.cmake b/adm/cmake/occt_macros.cmake index 1ba4f798bc..92a467c435 100644 --- a/adm/cmake/occt_macros.cmake +++ b/adm/cmake/occt_macros.cmake @@ -585,7 +585,7 @@ endmacro() # prior to version 3.3 not supporting per-configuration install paths # for install target files (see https://cmake.org/Bug/view.php?id=14317) macro (OCCT_UPDATE_TARGET_FILE) - if (WIN32) + if (MSVC) OCCT_INSERT_CODE_FOR_TARGET () endif() diff --git a/adm/cmake/occt_toolkit.cmake b/adm/cmake/occt_toolkit.cmake index 689ed40a21..f59b1639d2 100644 --- a/adm/cmake/occt_toolkit.cmake +++ b/adm/cmake/occt_toolkit.cmake @@ -191,7 +191,7 @@ foreach (OCCT_MODULE ${OCC_MODULES_LIST}) endif() endforeach() -if (WIN32) +if (MSVC) OCCT_INSERT_CODE_FOR_TARGET () endif()