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.

11 lines
403 B

cmake_minimum_required(VERSION ${CMAKE_VERSION} FATAL_ERROR)
function(test_variable NAME EXPECTED_VALUE)
if(NOT "${${NAME}}" STREQUAL "${EXPECTED_VALUE}")
message(FATAL_ERROR "${NAME}: variable mismatch; expected [${EXPECTED_VALUE}] actual [${${NAME}}]")
endif()
endfunction()
include(${RunCMake_TEST_BINARY_DIR}/CPackConfig.cmake)
include(${RunCMake_TEST_BINARY_DIR}/CPackSourceConfig.cmake)