From: rnv Date: Tue, 25 Feb 2014 14:18:43 +0000 (+0400) Subject: Fix detection of the XDR under Windows platform. X-Git-Tag: V7_4_0a1~32^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eb9272bbdc367597be5d478fca155e846f6e76ce;p=modules%2Fmed.git Fix detection of the XDR under Windows platform. --- diff --git a/adm_local/cmake_files/FindXDR.cmake b/adm_local/cmake_files/FindXDR.cmake index 41af17c88..40ad99de8 100644 --- a/adm_local/cmake_files/FindXDR.cmake +++ b/adm_local/cmake_files/FindXDR.cmake @@ -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}")