diff --git a/CMakeLists.txt b/CMakeLists.txt index 9996c976..c14f7a7a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ # CMakeLists.txt for exiv2 library -cmake_minimum_required( VERSION 3.1.0 ) +cmake_minimum_required( VERSION 3.3.2 ) project( exiv2 ) include(GNUInstallDirs) diff --git a/config/findDependencies.cmake b/config/findDependencies.cmake index 09d0b09e..683a2a47 100644 --- a/config/findDependencies.cmake +++ b/config/findDependencies.cmake @@ -50,7 +50,7 @@ if( EXIV2_ENABLE_NLS ) # the manual check in config/generateConfigFile.cmake endif( ) -include( FindIconv ) +find_package(Iconv) if( ICONV_FOUND ) message ( "-- ICONV_INCLUDE_DIR : " ${Iconv_INCLUDE_DIR} ) message ( "-- ICONV_LIBRARIES : " ${Iconv_LIBRARY} )