]> OCCT Git - occt-copy.git/commitdiff
0029266: Configuration - CMake install does not copy pdb files in Debug mode due...
authorapn <apn@opencascade.com>
Thu, 24 May 2018 13:54:00 +0000 (16:54 +0300)
committerabv <abv@opencascade.com>
Fri, 25 May 2018 18:54:58 +0000 (21:54 +0300)
Define variable "OCCT_INSTALL_BIN_LETTER" only if compiler is some version of Microsoft Visual C.

adm/cmake/occt_macros.cmake
adm/cmake/occt_toolkit.cmake

index 1ba4f798bc45f29627c253650eecced78c3252ae..92a467c4350bf049b4d6cf4f25ae7d10c9e26a54 100644 (file)
@@ -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()
 
index 689ed40a2140127e931cb5d1e4b81143dfb77bc8..f59b1639d2aba8dc020cd552c09ad866bca00cad 100644 (file)
@@ -191,7 +191,7 @@ foreach (OCCT_MODULE ${OCC_MODULES_LIST})
   endif()
 endforeach()
 
-if (WIN32)
+if (MSVC)
   OCCT_INSERT_CODE_FOR_TARGET ()
 endif()