diff options
author | Justin Goshi <jgoshi@microsoft.com> | 2020-04-28 23:45:43 (GMT) |
---|---|---|
committer | kitware <kitware@dragnipur.kitware.com> | 2020-05-22 15:23:33 (GMT) |
commit | b698764a316d346e3c1bc33c7a88b5a09f144ad6 (patch) | |
tree | a75ad03857b7bbf7a57f70798c3c2795d0ed4e06 /Tests/RunCMake/FileAPI/RunCMakeTest.cmake | |
parent | b3812c0e54c18d8fe9959624d8f09afc427a891e (diff) | |
download | CMake-b698764a316d346e3c1bc33c7a88b5a09f144ad6.zip CMake-b698764a316d346e3c1bc33c7a88b5a09f144ad6.tar.gz CMake-b698764a316d346e3c1bc33c7a88b5a09f144ad6.tar.bz2 |
Tests: Add a PCH example to RunCMake.FileAPI codemodel-v2
Diffstat (limited to 'Tests/RunCMake/FileAPI/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/FileAPI/RunCMakeTest.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/FileAPI/RunCMakeTest.cmake b/Tests/RunCMake/FileAPI/RunCMakeTest.cmake index 8cdc00c..4449ff1 100644 --- a/Tests/RunCMake/FileAPI/RunCMakeTest.cmake +++ b/Tests/RunCMake/FileAPI/RunCMakeTest.cmake @@ -23,7 +23,7 @@ function(check_python case) endif() file(GLOB index ${RunCMake_TEST_BINARY_DIR}/.cmake/api/v1/reply/index-*.json) execute_process( - COMMAND ${PYTHON_EXECUTABLE} "${RunCMake_SOURCE_DIR}/${case}-check.py" "${index}" + COMMAND ${PYTHON_EXECUTABLE} "${RunCMake_SOURCE_DIR}/${case}-check.py" "${index}" "${CMAKE_CXX_COMPILER_ID}" RESULT_VARIABLE result OUTPUT_VARIABLE output ERROR_VARIABLE output |