You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
371 B
8 lines
371 B
include("${RunCMake_TEST_BINARY_DIR}/default/CPackConfig.cmake")
|
|
|
|
file(READ "${RunCMake_TEST_BINARY_DIR}/default/${CPACK_PACKAGE_FILE_NAME}.json" contents)
|
|
string(JSON package_name GET "${contents}" packageName)
|
|
if(NOT package_name STREQUAL "package-name")
|
|
set(RunCMake_TEST_FAILED "Expected package name to be \"package-name\" but it was \"${package_name}\"")
|
|
endif()
|