Skip to content

Commit 6372cf9

Browse files
committed
Convert ARCADIA_[BUILD_]ROOT to native path (#164)
1 parent da93098 commit 6372cf9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

util/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,8 @@ elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64")
730730
endif()
731731

732732
# NOTE: these definitions are needed to `util/system/src_root.h` works properly
733+
file(TO_NATIVE_PATH "${ARCADIA_ROOT}" ARCADIA_ROOT)
734+
file(TO_NATIVE_PATH "${ARCADIA_BUILD_ROOT}" ARCADIA_BUILD_ROOT)
733735
target_compile_definitions(yutil PUBLIC
734736
ARCADIA_ROOT=${ARCADIA_ROOT}
735737
ARCADIA_BUILD_ROOT=${ARCADIA_BUILD_ROOT}

0 commit comments

Comments
 (0)