]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Fix detection of the XDR under Windows platform.
authorrnv <rnv@opencascade.com>
Tue, 25 Feb 2014 14:18:43 +0000 (18:18 +0400)
committerrnv <rnv@opencascade.com>
Tue, 25 Feb 2014 14:19:20 +0000 (18:19 +0400)
adm_local/cmake_files/FindXDR.cmake

index 41af17c88736eb49c15658f36d66e301682367a8..40ad99de84256408b4169d027997212d24e4a223 100644 (file)
@@ -24,7 +24,7 @@ SET(XDR_DEFINITIONS "-DHAS_XDR")
 
 IF(WIN32)
   FIND_LIBRARY(XDR_LIBRARIES xdr)                 # To get the .lib file from XDR
-  FIND_PATH(XDR_INCLUDE_DIRS2 src/msvc/stdint.h)  # To get the stdint.h from XDR (needed by types.h)
+  FIND_PATH(XDR_INCLUDE_DIRS2 stdint.h PATH_SUFFIXES src/msvc)  # To get the stdint.h from XDR (needed by types.h)
   IF(XDR_INCLUDE_DIRS)
     IF(XDR_INCLUDE_DIRS2)
       LIST(APPEND XDR_INCLUDE_DIRS "${XDR_INCLUDE_DIRS2}")