Bump Simgear version dep. We need the SGGeod isValid() check now which got added recently
This commit is contained in:
parent
aead9a1f9d
commit
bb79b9ccb4
2 changed files with 5 additions and 5 deletions
|
@ -68,7 +68,7 @@ endif (MSVC AND MSVC_3RDPARTY_ROOT)
|
|||
find_package(Boost REQUIRED)
|
||||
find_package(ZLIB REQUIRED)
|
||||
find_package(Threads REQUIRED)
|
||||
find_package(SimGear 2.5.0 REQUIRED)
|
||||
find_package(SimGear 2.9.0 REQUIRED)
|
||||
find_package(GDAL REQUIRED)
|
||||
find_package(TIFF REQUIRED) # needed for SRTM
|
||||
find_package(NewMat11 REQUIRED)
|
||||
|
|
|
@ -114,14 +114,14 @@ if(NOT SIMGEAR_VERSION)
|
|||
"to select the SimGear library location to be used.")
|
||||
endif()
|
||||
|
||||
message(STATUS "found SimGear version: ${SIMGEAR_VERSION} (needed ${SimGear_FIND_VERSION})")
|
||||
message(STATUS "found SimGear version: ${SIMGEAR_VERSION} (needed ${SimGear_FIND_VERSION} or higher)")
|
||||
|
||||
if(NOT ${SIMGEAR_VERSION} GREATER ${SimGear_FIND_VERSION})
|
||||
if(${SIMGEAR_VERSION} VERSION_LESS ${SimGear_FIND_VERSION})
|
||||
message(FATAL_ERROR "You have installed a mismatching SimGear version ${SIMGEAR_VERSION} "
|
||||
"instead of ${SimGear_FIND_VERSION} as required by TerraGear. "
|
||||
"instead of ${SimGear_FIND_VERSION} or higher as required by TerraGear. "
|
||||
"When using multiple SimGear installations, please use 'SIMGEAR_DIR' "
|
||||
"to select the SimGear library location to be used.")
|
||||
endif()
|
||||
endif(${SIMGEAR_VERSION} VERSION_LESS ${SimGear_FIND_VERSION})
|
||||
|
||||
# dependent packages
|
||||
find_package(ZLIB REQUIRED)
|
||||
|
|
Loading…
Add table
Reference in a new issue