]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
RNV: win32 building.
authorana <ana@opencascade.com>
Fri, 13 Sep 2013 13:34:09 +0000 (13:34 +0000)
committerana <ana@opencascade.com>
Fri, 13 Sep 2013 13:34:09 +0000 (13:34 +0000)
salome_adm/cmake_files/FindSalomeOmniORBPy.cmake

index 28b76e36ee01530c9e5d5328c673bda6d2f8d366..229d54d2437b52c22d2312968d0c5ac2a5e91488 100644 (file)
@@ -35,7 +35,13 @@ IF(SalomeOmniORB_FOUND)
     ENDIF()
   ENDIF()
 
-  SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(OmniORBPy OMNIORB_PYTHON_BACKEND 4)
+  IF(WINDOWS)
+    SET(DIR_COUNT 3) 
+  ELSE(WINDOWS)
+    SET(DIR_COUNT 4) 
+  ENDIF(WINDOWS)
+
+  SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(OmniORBPy OMNIORB_PYTHON_BACKEND ${DIR_COUNT})
   #MARK_AS_ADVANCED()
 ELSE()
   IF(NOT SalomeOmniORBPy_FIND_QUIETLY)