From 96bb10f38e9ec635bd7c8f9502f9807b601847d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20D=C3=ADaz=20M=C3=A1s?= Date: Sun, 1 Oct 2017 16:39:39 +0200 Subject: [PATCH] Fix the default configuration CMake+Windows --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d93b5dd5..f71fae8c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,9 @@ option( EXIV2_BUILD_EXIV2_COMMAND "Build exiv2 command-line executable" if ( EXIV2_ENABLE_WEBREADY ) set ( EXIV2_ENABLE_CURL ON ) set ( EXIV2_ENABLE_CURL ON ) - set ( EXIV2_ENABLE_SSH ON ) + if ( UNIX ) + set ( EXIV2_ENABLE_SSH ON ) + endif () endif() if( EXIV2_ENABLE_COMMERCIAL )