mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
49 lines
1.3 KiB
Diff
49 lines
1.3 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 1ecd3ae..024c729 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -252,10 +252,10 @@ endif()
|
|
|
|
FIND_PACKAGE(ZLIB REQUIRED QUIET)
|
|
|
|
-FIND_PACKAGE(Sqlite3 QUIET)
|
|
-IF(Sqlite3_FOUND)
|
|
- MESSAGE(STATUS "Found Sqlite3: ${Sqlite3_INCLUDE_DIRS} ${Sqlite3_LIBRARIES}")
|
|
-ENDIF(Sqlite3_FOUND)
|
|
+FIND_PACKAGE(SQLite3 QUIET)
|
|
+IF(SQLite3_FOUND)
|
|
+ MESSAGE(STATUS "Found Sqlite3: ${SQLite3_INCLUDE_DIRS} ${SQLite3_LIBRARIES}")
|
|
+ENDIF(SQLite3_FOUND)
|
|
|
|
if(NOT "${PCL_LIBRARIES}" STREQUAL "")
|
|
# fix libproj.so not found on Xenial
|
|
@@ -1332,7 +1332,7 @@ ELSE()
|
|
MESSAGE(STATUS " With Qt = NO (Qt not found)")
|
|
ENDIF()
|
|
|
|
-IF(Sqlite3_FOUND)
|
|
+IF(SQLite3_FOUND)
|
|
MESSAGE(STATUS " With external SQLite3 = YES (License: Public Domain)")
|
|
ELSE()
|
|
MESSAGE(STATUS " With external SQLite3 = NO (sqlite3 not found, internal version is used for convenience)")
|
|
--- a/corelib/src/CMakeLists.txt
|
|
+++ b/corelib/src/CMakeLists.txt
|
|
@@ -173,14 +173,14 @@ SET(PUBLIC_LIBRARIES
|
|
${PCL_LIBRARIES}
|
|
)
|
|
|
|
-IF(Sqlite3_FOUND)
|
|
+IF(SQLite3_FOUND)
|
|
SET(INCLUDE_DIRS
|
|
${INCLUDE_DIRS}
|
|
- ${Sqlite3_INCLUDE_DIRS}
|
|
+ ${SQLite3_INCLUDE_DIRS}
|
|
)
|
|
SET(LIBRARIES
|
|
${LIBRARIES}
|
|
- ${Sqlite3_LIBRARIES}
|
|
+ ${SQLite3_LIBRARIES}
|
|
)
|
|
ELSE()
|
|
SET(SRC_FILES
|