Conan update (#955)

Conan update
This commit is contained in:
D4N 2019-07-13 10:22:58 +02:00 committed by GitHub
commit 732741dfd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 8 deletions

View File

@ -58,7 +58,7 @@ before_build:
- cmd: cd envs
- cmd: python -m virtualenv conan
- cmd: conan/Scripts/activate
- cmd: python -m pip install conan==1.11.2
- cmd: python -m pip install conan==1.11.2 # TODO: Update to latest version (needs python 3)
- cmd: cd ..
- cmd: conan --version
- cmd: conan remote add conan-bincrafters https://api.bintray.com/conan/bincrafters/public-conan

View File

@ -22,7 +22,7 @@ else
fi
python --version
pip install conan==1.11.2
pip install conan==1.17.0
pip install codecov
conan --version
conan config set storage.path=~/conanData

View File

@ -17,7 +17,7 @@ class Exiv2Conan(ConanFile):
)
def configure(self):
self.options['libcurl'].shared = True
self.options['libcurl'].shared = False
self.options['libcurl'].with_openssl = True
self.options['gtest'].shared = True
@ -34,7 +34,7 @@ class Exiv2Conan(ConanFile):
self.requires('gtest/1.8.1@bincrafters/stable')
if self.options.webready and not os_info.is_macos:
self.requires('libcurl/7.61.1@bincrafters/stable')
self.requires('libcurl/7.64.1@bincrafters/stable')
if self.options.xmp:
self.requires('XmpSdk/2016.7@piponazo/stable') # from conan-piponazo

View File

@ -197,10 +197,6 @@ if (WIN32)
endif()
if (NOT MSVC)
if ( UNIX AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" )
target_link_libraries( exiv2lib PRIVATE ${CMAKE_DL_LIBS}) # -ldl = dynamic loader used by src/version.cpp
endif()
if ( CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" )
target_link_libraries( exiv2lib PRIVATE -lprocstat)
endif()