From eb9272bbdc367597be5d478fca155e846f6e76ce Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 25 Feb 2014 18:18:43 +0400 Subject: [PATCH] Fix detection of the XDR under Windows platform. --- adm_local/cmake_files/FindXDR.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}") -- 2.39.2