-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#18149) exiv2: add version 0.28.0, add win_unicode option for 0.27.x
* init * fix * get_safe * fix sig * fix the fix * exiv2-xmp is an object library in 0.28 * fix linkage * component requires * indent * min std, min compiler version, extend fix * bump inih, better cppstd and compiler version check * fix * add c++17 compiler feature to test_package * endline * check max cppstd for versions older than 0.28.0 * linter linter again conan_version * fix build * Update recipes/exiv2/all/conanfile.py Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com> * bump libpng version * add win_unicode option --------- Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com>
- Loading branch information
1 parent
c57bf4b
commit 3aeb2ae
Showing
6 changed files
with
120 additions
and
9 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,22 @@ | ||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | ||
index 41a672e8..93370b5e 100644 | ||
--- a/src/CMakeLists.txt | ||
+++ b/src/CMakeLists.txt | ||
@@ -170,10 +170,10 @@ if (MSVC) | ||
set_target_properties(exiv2lib PROPERTIES LINK_FLAGS "/ignore:4099") | ||
endif() | ||
|
||
-set_target_properties( exiv2lib_int PROPERTIES | ||
- POSITION_INDEPENDENT_CODE ON | ||
- COMPILE_DEFINITIONS exiv2lib_EXPORTS | ||
-) | ||
+ | ||
+ | ||
+ | ||
+ | ||
|
||
# NOTE: Cannot use target_link_libraries on OBJECT libraries with old versions of CMake | ||
target_include_directories(exiv2lib_int PRIVATE ${ZLIB_INCLUDE_DIR}) | ||
-- | ||
2.33.0.windows.1 | ||
|
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,16 @@ | ||
diff --git a/cmake/findDependencies.cmake b/cmake/findDependencies.cmake | ||
index 1075c303..d8b580d4 100644 | ||
--- a/cmake/findDependencies.cmake | ||
+++ b/cmake/findDependencies.cmake | ||
@@ -60,7 +60,7 @@ if (EXIV2_ENABLE_XMP AND EXIV2_ENABLE_EXTERNAL_XMP) | ||
message(FATAL_ERROR "EXIV2_ENABLE_XMP AND EXIV2_ENABLE_EXTERNAL_XMP are mutually exclusive. You can only choose one of them") | ||
else() | ||
if (EXIV2_ENABLE_XMP) | ||
- find_package(EXPAT REQUIRED) | ||
+ find_package(EXPAT REQUIRED MODULE) | ||
elseif (EXIV2_ENABLE_EXTERNAL_XMP) | ||
find_package(XmpSdk REQUIRED) | ||
endif () | ||
-- | ||
2.33.0.windows.1 | ||
|
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: | ||
"0.28.0": | ||
folder: all | ||
"0.27.5": | ||
folder: all | ||
"0.27.4": | ||
|