Add thirdparty libs

This commit is contained in:
JusicP
2020-10-22 20:43:01 +03:00
parent 76cfb7b813
commit 940d664def
4391 changed files with 1144864 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
FILE(REMOVE ${OUTPUT})
string(REPLACE " " ";" COMMAND "${COMMAND}")
execute_process(COMMAND ${COMMAND}
OUTPUT_VARIABLE _stdout ERROR_VARIABLE _stderr RESULT_VARIABLE _res)
if ( NOT(_res EQUAL 0) )
message(FATAL_ERROR "${COMMAND}:${_res}:${_stdout}:${_stderr}")
endif ()
LIST(GET COMMAND -1 _infile)
FILE(READ ${OUTPUT} _outputstring)
FILE(READ ${INPUT} _inputstring)
if (NOT(_outputstring STREQUAL _inputstring))
message(FATAL_ERROR "files do not match: ${OUTPUT} ${INPUT}")
endif ()