From 60bf32be975dc3ddb6fff1294d135caa696fb09d Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 10 Jul 2022 21:14:07 +0200 Subject: [PATCH] Fix detection of gnsstk 13.x --- cmake/Modules/FindGNSSTK.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/FindGNSSTK.cmake b/cmake/Modules/FindGNSSTK.cmake index 121e48477..3826f30a0 100644 --- a/cmake/Modules/FindGNSSTK.cmake +++ b/cmake/Modules/FindGNSSTK.cmake @@ -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()