Apply cmake-format
This commit is contained in:
parent
fbb1d73779
commit
8d460380f1
|
@ -90,7 +90,8 @@ function (add_appstream_file)
|
||||||
if (NOT APPSTREAMCLI_BIN)
|
if (NOT APPSTREAMCLI_BIN)
|
||||||
message(FATAL_ERROR "Unable to validate appstreamcli files; appstreamcli not found")
|
message(FATAL_ERROR "Unable to validate appstreamcli files; appstreamcli not found")
|
||||||
else ()
|
else ()
|
||||||
add_test(NAME "${META_TARGET_NAME}_appstream_validation" COMMAND "${APPSTREAMCLI_BIN}" validate "${APPSTREAM_FILE}")
|
add_test(NAME "${META_TARGET_NAME}_appstream_validation" COMMAND "${APPSTREAMCLI_BIN}" validate
|
||||||
|
"${APPSTREAM_FILE}")
|
||||||
endif ()
|
endif ()
|
||||||
endif ()
|
endif ()
|
||||||
endfunction ()
|
endfunction ()
|
||||||
|
|
|
@ -19,7 +19,7 @@ if (NOT META_NO_CPP_UNIT)
|
||||||
if (NOT ENABLE_CPP_UNIT)
|
if (NOT ENABLE_CPP_UNIT)
|
||||||
set(META_HAVE_TESTS NO)
|
set(META_HAVE_TESTS NO)
|
||||||
set(TEST_CONFIG_DONE YES)
|
set(TEST_CONFIG_DONE YES)
|
||||||
return ()
|
return()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# make CppUnit library/include dir configurable
|
# make CppUnit library/include dir configurable
|
||||||
|
|
Loading…
Reference in New Issue