git-svn-id: svn://db.shs.com.ru/pip@532 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2017-08-03 20:29:50 +00:00
parent cfc29ecb08
commit b60e146f86
5 changed files with 12 additions and 6 deletions

View File

@@ -33,7 +33,10 @@ if(NOT PIP_VERSION)
math(EXPR SL '${SL}-2')
string(SUBSTRING ${_VERSION} 1 ${SL} _VERSION)
set(PIP_VERSION ${_VERSION} CACHE STRING "VERSION")
message(STATUS "Found PIP version ${PIP_VERSION}")
if (NOT _PIP_MSG)
set(_PIP_MSG 1 CACHE BOOL "msg_pip" FORCE)
message(STATUS "Found PIP version ${PIP_VERSION}")
endif()
endif()
if(PIP_FIND_VERSION VERSION_GREATER PIP_VERSION)
message(FATAL_ERROR "PIP version ${PIP_VERSION} is available, but ${PIP_FIND_VERSION} requested!")