mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 18:28:59 +08:00
629acdf9d1
* update proj4 to 7.2.0 * fix cmake find * add tiff,curl feature * fix depends * Update fix-proj4-targets-cmake.patch * fix * remove tiff and curl when static build * fix windows static build error * Update ports/proj4/portfile.cmake Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * change port version * use find_dependency instead of find_package * Update fix-proj4-targets-cmake.patch * Update fix-proj4-targets-cmake.patch Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
16 lines
435 B
Diff
16 lines
435 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 7d736d129..93d7801dd 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -269,7 +269,9 @@ endif()
|
|
################################################################################
|
|
include_directories(${PROJ_SOURCE_DIR}/src)
|
|
|
|
-add_subdirectory(data)
|
|
+if(BUILD_PROJ_DATABASE)
|
|
+ add_subdirectory(data)
|
|
+endif()
|
|
add_subdirectory(include)
|
|
add_subdirectory(src)
|
|
add_subdirectory(man)
|