Replace CMAKE_SOURCE_DIR with PROJECT_SOURCE_DIR

Bug: 1596
Change-Id: I62285bb912e79323b7bb3fcdaea9ff64b1a4a1b9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/110172
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
Jason Erb 2022-11-21 11:40:38 +00:00 committed by Dawn LUCI CQ
parent 95df1efa5a
commit 5008af273c
3 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ set_target_properties(dawn_node PROPERTIES
)
target_link_libraries(dawn_node dawn_node_binding dawn_node_interop dawn_native dawncpp dawn_proc)
target_include_directories(dawn_node PRIVATE
"${CMAKE_SOURCE_DIR}"
"${PROJECT_SOURCE_DIR}"
"${DAWN_THIRD_PARTY_DIR}"
"${NODE_API_HEADERS_DIR}/include"
"${DAWN_NODE_GEN_DIR}"

View File

@ -70,7 +70,7 @@ common_compile_options(dawn_node_binding)
target_include_directories(dawn_node_binding
PRIVATE
"${CMAKE_SOURCE_DIR}"
"${PROJECT_SOURCE_DIR}"
"${DAWN_THIRD_PARTY_DIR}"
"${NODE_API_HEADERS_DIR}/include"
"${DAWN_NODE_GEN_DIR}"

View File

@ -51,7 +51,7 @@ common_compile_options(dawn_node_interop)
target_include_directories(dawn_node_interop
PRIVATE
"${CMAKE_SOURCE_DIR}"
"${PROJECT_SOURCE_DIR}"
"${DAWN_THIRD_PARTY_DIR}"
"${NODE_API_HEADERS_DIR}/include"
"${DAWN_NODE_GEN_DIR}"