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:
parent
95df1efa5a
commit
5008af273c
|
@ -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_link_libraries(dawn_node dawn_node_binding dawn_node_interop dawn_native dawncpp dawn_proc)
|
||||||
target_include_directories(dawn_node PRIVATE
|
target_include_directories(dawn_node PRIVATE
|
||||||
"${CMAKE_SOURCE_DIR}"
|
"${PROJECT_SOURCE_DIR}"
|
||||||
"${DAWN_THIRD_PARTY_DIR}"
|
"${DAWN_THIRD_PARTY_DIR}"
|
||||||
"${NODE_API_HEADERS_DIR}/include"
|
"${NODE_API_HEADERS_DIR}/include"
|
||||||
"${DAWN_NODE_GEN_DIR}"
|
"${DAWN_NODE_GEN_DIR}"
|
||||||
|
|
|
@ -70,7 +70,7 @@ common_compile_options(dawn_node_binding)
|
||||||
|
|
||||||
target_include_directories(dawn_node_binding
|
target_include_directories(dawn_node_binding
|
||||||
PRIVATE
|
PRIVATE
|
||||||
"${CMAKE_SOURCE_DIR}"
|
"${PROJECT_SOURCE_DIR}"
|
||||||
"${DAWN_THIRD_PARTY_DIR}"
|
"${DAWN_THIRD_PARTY_DIR}"
|
||||||
"${NODE_API_HEADERS_DIR}/include"
|
"${NODE_API_HEADERS_DIR}/include"
|
||||||
"${DAWN_NODE_GEN_DIR}"
|
"${DAWN_NODE_GEN_DIR}"
|
||||||
|
|
|
@ -51,7 +51,7 @@ common_compile_options(dawn_node_interop)
|
||||||
|
|
||||||
target_include_directories(dawn_node_interop
|
target_include_directories(dawn_node_interop
|
||||||
PRIVATE
|
PRIVATE
|
||||||
"${CMAKE_SOURCE_DIR}"
|
"${PROJECT_SOURCE_DIR}"
|
||||||
"${DAWN_THIRD_PARTY_DIR}"
|
"${DAWN_THIRD_PARTY_DIR}"
|
||||||
"${NODE_API_HEADERS_DIR}/include"
|
"${NODE_API_HEADERS_DIR}/include"
|
||||||
"${DAWN_NODE_GEN_DIR}"
|
"${DAWN_NODE_GEN_DIR}"
|
||||||
|
|
Loading…
Reference in New Issue