forked from conan-io/conan-center-index
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(conan-io#7810) proj: add 8.1.1 + bump dependencies + modernize
* bump dependencies * modernize * prefer to fix iOS build by disabling CMAKE_MACOSX_BUNDLE it allows to avoid patches * add proj/8.1.1 * fix -Wcomment warning in test package
- Loading branch information
1 parent
c61291c
commit 8d85b29
Showing
7 changed files
with
58 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- a/src/lib_proj.cmake | ||
+++ b/src/lib_proj.cmake | ||
@@ -393,8 +393,7 @@ if(USE_THREAD AND Threads_FOUND AND CMAKE_USE_PTHREADS_INIT) | ||
target_link_libraries(proj PRIVATE ${CMAKE_THREAD_LIBS_INIT}) | ||
endif() | ||
|
||
-target_include_directories(proj PRIVATE ${SQLITE3_INCLUDE_DIR}) | ||
-target_link_libraries(proj PRIVATE ${SQLITE3_LIBRARY}) | ||
+target_link_libraries(proj PRIVATE CONAN_PKG::sqlite3) | ||
|
||
if(NLOHMANN_JSON STREQUAL "external") | ||
target_compile_definitions(proj PRIVATE EXTERNAL_NLOHMANN_JSON) | ||
@@ -404,16 +403,14 @@ endif() | ||
|
||
if(TIFF_ENABLED) | ||
target_compile_definitions(proj PRIVATE -DTIFF_ENABLED) | ||
- target_include_directories(proj PRIVATE ${TIFF_INCLUDE_DIR}) | ||
- target_link_libraries(proj PRIVATE ${TIFF_LIBRARY}) | ||
+ target_link_libraries(proj PRIVATE TIFF::TIFF) | ||
endif() | ||
|
||
if(CURL_ENABLED) | ||
target_compile_definitions(proj PRIVATE -DCURL_ENABLED) | ||
- target_include_directories(proj PRIVATE ${CURL_INCLUDE_DIR}) | ||
target_link_libraries(proj | ||
PRIVATE | ||
- ${CURL_LIBRARY} | ||
+ CURL::libcurl | ||
$<$<CXX_COMPILER_ID:MSVC>:ws2_32> | ||
$<$<CXX_COMPILER_ID:MSVC>:wldap32> | ||
$<$<CXX_COMPILER_ID:MSVC>:advapi32> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
versions: | ||
"8.1.1": | ||
folder: "all" | ||
"8.1.0": | ||
folder: "all" | ||
"8.0.1": | ||
|