mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 19:47:50 +08:00
24acb5f356
* [vcpkg baseline][gdal] Fix quote variable error * update version --------- Co-authored-by: Zhao Liu <v-zhli17@microsoft.com>
14 lines
783 B
Diff
14 lines
783 B
Diff
diff --git a/cmake/modules/packages/FindSPATIALITE.cmake b/cmake/modules/packages/FindSPATIALITE.cmake
|
|
index fa72773..813cca3 100644
|
|
--- a/cmake/modules/packages/FindSPATIALITE.cmake
|
|
+++ b/cmake/modules/packages/FindSPATIALITE.cmake
|
|
@@ -64,7 +64,7 @@ if(SPATIALITE_LIBRARY AND SPATIALITE_INCLUDE_DIR
|
|
AND NOT SPATIALITE_VERSION_STRING)
|
|
file(STRINGS "${SPATIALITE_INCLUDE_DIR}/spatialite.h" _spatialite_h_ver
|
|
REGEX "^[ \t]version[ \t]([0-9]+\\.[0-9]+),.*")
|
|
- string(REGEX REPLACE "[ \t]version[ \t]([0-9]+\\.[0-9]+),.*" "\\1" _spatialite_h_ver ${_spatialite_h_ver})
|
|
+ string(REGEX REPLACE "[ \t]version[ \t]([0-9]+\\.[0-9]+),.*" "\\1" _spatialite_h_ver "${_spatialite_h_ver}")
|
|
set(SPATIALITE_VERSION_STRING "${_spatialite_h_ver}")
|
|
endif()
|
|
|