2015-09-09 23:21:07 +03:00
|
|
|
cmake_minimum_required(VERSION ${CMAKE_VERSION} FATAL_ERROR)
|
|
|
|
|
2015-08-28 09:07:52 +03:00
|
|
|
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)
|
2015-09-09 23:21:07 +03:00
|
|
|
include(${RunCMake_TEST_BINARY_DIR}/CPackSourceConfig.cmake)
|