|
@ -227,6 +227,10 @@ if(carl_FOUND AND NOT STORM_FORCE_SHIPPED_CARL) |
|
|
else() |
|
|
else() |
|
|
message(SEND_ERROR "File ${carlLOCATION} does not exist, did you build carl?") |
|
|
message(SEND_ERROR "File ${carlLOCATION} does not exist, did you build carl?") |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
if("${carl_MINORYEARVERSION}" STREQUAL "" OR "${carl_MINORMONTHVERSION}" STREQUAL "" OR "${carl_MAINTENANCEVERSION}" STREQUAL "") |
|
|
|
|
|
# don't have detailed version information, probably an old version of carl |
|
|
|
|
|
message(FATAL_ERROR "Carl at ${carlLOCATION} outdated, require ${CARL_MINYEAR}.${CARL_MINMONTH}.${CARL_MINPATCH}, have ${carl_VERSION}") |
|
|
|
|
|
endif() |
|
|
if(${carl_MINORYEARVERSION} LESS ${CARL_MINYEAR}) |
|
|
if(${carl_MINORYEARVERSION} LESS ${CARL_MINYEAR}) |
|
|
message(SEND_ERROR "Carl outdated, require ${CARL_MINYEAR}.${CARL_MINMONTH}.${CARL_MINPATCH}, have ${carl_VERSION}") |
|
|
message(SEND_ERROR "Carl outdated, require ${CARL_MINYEAR}.${CARL_MINMONTH}.${CARL_MINPATCH}, have ${carl_VERSION}") |
|
|
elseif(${carl_MINORYEARVERSION} EQUAL ${CARL_MINYEAR}) |
|
|
elseif(${carl_MINORYEARVERSION} EQUAL ${CARL_MINYEAR}) |
|
|