Commit 106ff6c4 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Add INTSIZE check to better detect failed

parent 7bae96d7
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.3)
project(TEST_MORSE_CMAKE_MODULES_FIND Fortran C CXX)
cmake_policy(SET CMP0074 NEW)
......@@ -95,6 +95,13 @@ foreach(_library ${PACKAGES})
message(FATAL_ERROR "${_library} NOT FOUND !!")
endif()
set( ORDERINGS SCOTCH PTSCOTCH METIS PAMPA )
if ( ${_library} IN_LIST ORDERINGS )
if ( ${_library}_INTSIZE EQUAL -1 )
message(FATAL_ERROR "${_library} could not find integer size !!")
endif()
endif()
endforeach()
# Add CTest rules
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment