Fix detection of gnsstk 13.x

This commit is contained in:
Carles Fernandez
2022-07-10 21:14:07 +02:00
parent 1b277347ec
commit 60bf32be97
+1 -1
View File
@@ -91,7 +91,7 @@ if(GNSSTK_VERSION)
endif()
endif()
if(NOT EXISTS ${GNSSTK_INCLUDE_DIR}/gnsstk/GPSEphemerisStore.hpp)
if(EXISTS ${GNSSTK_INCLUDE_DIR}/gnsstk/GPSEphemerisStore.hpp)
set(GNSSTK_OLDER_THAN_13 TRUE)
endif()