From 2a2131a13cad4691cb681d6a547833c065bb7efd Mon Sep 17 00:00:00 2001 From: James R T Date: Thu, 18 Aug 2022 17:44:04 +0800 Subject: [PATCH] Fix configuration error when GULRAK_SOURCE_DIR is specified on Windows --- cmake/gulrak.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/gulrak.cmake b/cmake/gulrak.cmake index 9be06d4b7b..be9be69239 100644 --- a/cmake/gulrak.cmake +++ b/cmake/gulrak.cmake @@ -23,6 +23,7 @@ set(FETCHCONTENT_QUIET OFF) # GULRAK_SOURCE_DIR : Set this to the directory where you have cloned gulrak filesystem repo, # if you would like to bypass pulling from Github repository via Internet. if(DEFINED GULRAK_SOURCE_DIR) + file(TO_CMAKE_PATH "${GULRAK_SOURCE_DIR}" GULRAK_SOURCE_DIR) message(STATUS "**** Building Gulrak From " ${GULRAK_SOURCE_DIR}) FetchContent_Declare( ${CONTENT_NAME}