clanmills
37cc2db72d
fix 1307 ASAN issues with RemoteIo
5 years ago
Jan Tojnar
306c8a6fd4
cmake: Fix include_directories for exiv2lib target
...
The headers are installed to ${CMAKE_INSTALL_INCLUDEDIR} but the CMake config was hardcoded to include directory.
5 years ago
Jan Tojnar
48f2c9dbba
cmake: Fix paths with absolute GNUInstallDirs
...
It is not generally true that `CMAKE_INSTALL_<dir>` variables are relative paths:
https://github.com/jtojnar/cmake-snips#concatenating-paths-when-building-pkg-config-files
https://github.com/jtojnar/cmake-snips#assuming-cmake_install_dir-is-relative-path
Let's join them properly as paths, not strings.
On Windows, the absolute paths will likely remain unsupported as neither the CMake function,
nor the C++ code is able to detect absolute paths.
Signed-off-by: Jan Tojnar <jtojnar@gmail.com>
5 years ago
Robin Mills
08d1cd84c2
Don't compile localtime.c (hurray)
5 years ago
Robin Mills
a1abe21a71
Discussion: https://github.com/Exiv2/exiv2/issues/1200#issuecomment-623975537
5 years ago
clanmills
cd5c3e4ff9
Remove target_compile_features(exiv2 PRIVATE cxx_std_98) from src/exiv2
5 years ago
clanmills
63a13e8620
Adding option -DEXIV2_BUILD_USE_C++11
5 years ago
Robin Mills
df04671976
Enforce cxx_std_98 in samples, unit_tests, and exiv2 application (to eliminate 2305 GCC unique_ptr warnings)
5 years ago
Luis Diaz Mas
fabfcac274
Require c++98 privately only in the library target
5 years ago
clanmills
d0d6ff2e9b
fix_1059_0.27
5 years ago
Andreas Sturmlechner
0890d66a6e
EXIV2_ENABLE_SSH: Fix compatibility with >=libssh-0.9.2
...
0.9.1 remains broken regardless and is beyond fixing in this place.
Build-tested with both libssh 0.9.0 and 0.9.2.
Solution copied from KDE's kio-extras commit 24506c2af8d1904a99538543804306c6c2b81ca2
6 years ago
clanmills
4cf040ac4a
Install man page from man/man1/exiv2.1
6 years ago
Robin Mills
76d2798172
Pushing very helpful suggestion by @lantw44
6 years ago
clanmills
94a777609e
fix947_FreeBSD_BasicError_typeinfo
6 years ago
Luis Diaz Mas
c4bfd0f0f1
Remove linkage with -ldl
...
The code using dlopen/dlclose/etc was removed from version.cpp in the past
6 years ago
Luis Díaz Más
df5054b910
Merge branch '0.27-maintenance' into 0.27-use-libssh-config
6 years ago
Andreas Sturmlechner
e85ce17fc9
Switch to libssh's own libssh-config.cmake
...
This is provided by libssh since 2013.
6 years ago
Andreas Sturmlechner
6819f2ac45
Fix install path of exiv2ConfigVersion.cmake
...
This seems to have been caused by duplicate work between master branch
and 0.27-maintenance branch, as commit 3b48249eeb350301dfb3efa3ba6f7d7b162455be
had already got that right.
6 years ago
Robin Mills
b0a9cb5624
NetBSD/FreeBSD Support
6 years ago
Luis Díaz Más
f05d100579
CURL lib and include directories private for exiv2lib
...
(cherry picked from commit 5d64a0b11c5a45dd9d58c56e946301f3f98942a7)
6 years ago
Robin Mills
78676b2a02
Fix #798
6 years ago
Luis Díaz Más
4265ac5e0f
exiv2-xmp linked privately
6 years ago
Seth Parker
892d39e3bf
Add missing libintl include dirs to exiv2lib_int and exiv2
6 years ago
Michał Walenciak
6887822243
removing unused header generation
6 years ago
Michał Walenciak
aae88060ca
Use ${CMAKE_INSTALL_LIBDIR} as proper files location
6 years ago
Michał Walenciak
4ddd44e9da
create & install exiv2ConfigVersion.cmake
6 years ago
Luis Diaz Mas
6abdb7e77a
Install new file exiv2lib_compiler_detection.h
7 years ago
Luis Diaz Mas
9d62998973
cmake: compile video sources conditionally
7 years ago
Luis Díaz Más
798396e71a
cmake: use CONAN_PKG::OpenSSL only if NOT APPLE
7 years ago
Luis Díaz Más
08478c3217
Fix SSL linking issues on Windows
7 years ago
Luis Díaz Más
4fa2bc7008
Propagate CURL linkage when it is enabled
7 years ago
Andreas Schneider
ed3a0f1341
cmake: Install header files without globbing
...
Fixes #627
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 0b34ccb9a3b26cd1c5267c6a5c15e9fa1a665adb)
7 years ago
Andreas Schneider
6062b1b803
cmake: Rename xmp to exiv2-xmp to avoid name conflicts
...
There is already a libxmp file by the xmp project on https://xmp.sf.net .
To avoid issues prefix with exiv2.
Fixes #624
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 89509d7a3915ba474cbc3f8c85ab9bec4954ceda)
7 years ago
Robin Mills
22e49cc78b
Try to fix https://github.com/Exiv2/exiv2/issues/572
7 years ago
Luis Díaz Más
4ed5bdc78b
CMake: Supress MSVC PDB warnings
7 years ago
Luis Díaz Más
186352e295
conan: copy 3rd party dlls only if the conanDlls folder exists
...
Note that this folder will only exists if at least one of the conan packages managed with the shared option = True.
7 years ago
Luis Díaz Más
ee28e8ae15
CMake: Install public headers
7 years ago
Luis Díaz Más
0c871a5878
CMake: Align sources and headers in two columns
7 years ago
Luis Díaz Más
faa3a607ab
CMake: Remove FREEBSD variable + Remove commented code
...
- Plus: EXV_LOCALEDIR is now defined only when needed.
7 years ago
Luis Díaz Más
5fc905a799
CMake: remove variable EXIV2_SRC
7 years ago
Luis Díaz Más
fa5f057f8c
CMake: Remove useless source_group commands
7 years ago
Luis Díaz Más
b208bcef7d
CMake: CURL does not need to be propagated
7 years ago
Luis Díaz Más
37538399d6
CMake: Modernize src/CMakeLists.txt by using target_sources.
7 years ago
Luis Díaz Más
9980107586
Only include zlib directory when building the exiv2lib
7 years ago
Luis Díaz Más
38b60a3e8e
CMake: Simplify Intl finding
7 years ago
Luis Díaz Más
4ffc577e4e
CMake: remove useless directory inclusions for exiv2
...
Note that ${CMAKE_SOURCE_DIR}/include is already passed to exiv2
through the exiv2lib target.
7 years ago
Luis Díaz Más
185bcaca05
Link exiv2 app againts libintl
7 years ago
Luis Díaz Más
d1c2e2f64f
bindtextdomain point to relative path to bin directory
7 years ago
Luis Díaz Más
7485bb54d7
Create function getProcessPath and add unit test for it
...
Debugging: Relative and Absolute path alternatives
7 years ago
Luis Díaz Más
e20329b8e0
Remove EXV_HAVE_DLL and disable C4251 always on msvc.
7 years ago