mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
ac0d90f680
* [proj4] Update to version 6.2.1; disable exporting symbols for static libraries * Remove deprecated function Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
14 lines
492 B
Diff
14 lines
492 B
Diff
diff --git a/src/lib_proj.cmake b/src/lib_proj.cmake
|
|
index 2e90f98f..dc171e91 100644
|
|
--- a/src/lib_proj.cmake
|
|
+++ b/src/lib_proj.cmake
|
|
@@ -441,7 +441,7 @@ if(USE_THREAD AND Threads_FOUND AND CMAKE_USE_PTHREADS_INIT)
|
|
endif()
|
|
|
|
include_directories(${SQLITE3_INCLUDE_DIR})
|
|
-target_link_libraries(${PROJ_CORE_TARGET} ${SQLITE3_LIBRARY})
|
|
+target_link_libraries(${PROJ_CORE_TARGET} PUBLIC ${SQLITE3_LIBRARY})
|
|
|
|
if(MSVC AND BUILD_LIBPROJ_SHARED)
|
|
target_compile_definitions(${PROJ_CORE_TARGET}
|