CMake: Change check target to libcxx.check to avoid CMake target conflicts.
This commit is contained in:

committed by
NAKAMURA Takumi

parent
afb2c7d9ff
commit
1160236b87
@@ -32,7 +32,7 @@ if(PYTHONINTERP_FOUND)
|
|||||||
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
|
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
|
||||||
@ONLY)
|
@ONLY)
|
||||||
|
|
||||||
add_custom_target(check
|
add_custom_target(libcxx.check
|
||||||
COMMAND ${PYTHON_EXECUTABLE}
|
COMMAND ${PYTHON_EXECUTABLE}
|
||||||
${LIT_EXECUTABLE}
|
${LIT_EXECUTABLE}
|
||||||
${LIT_ARGS}
|
${LIT_ARGS}
|
||||||
@@ -40,5 +40,5 @@ if(PYTHONINTERP_FOUND)
|
|||||||
DEPENDS
|
DEPENDS
|
||||||
COMMENT "Running libcxx tests")
|
COMMENT "Running libcxx tests")
|
||||||
else()
|
else()
|
||||||
message(WARNING "Could not find Python, no check target will be available!")
|
message(WARNING "Could not find Python, no libcxx.check target will be available!")
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user