Skip to content

Commit

Permalink
Change relative path to ydbmerrors to use src directory
Browse files Browse the repository at this point in the history
Use the YDB_SOURCE_DIR cmake variable to get the path to ydbmerrors.h
instead of a hardcoded relative path
  • Loading branch information
ChristopherEdwards authored and nars1 committed Feb 19, 2018
1 parent 39e21f3 commit 3246ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sr_linux/platform.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ else()
set(arch "x86_64")
set(bits 64)
endif()
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -include ../sr_port/ydbmerrors.h")
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -include ${YDB_SOURCE_DIR}/sr_port/ydbmerrors.h")

set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -x assembler-with-cpp")
# Platform directories
Expand Down

0 comments on commit 3246ed8

Please sign in to comment.