From e474b0fbd3aec4be93506d7eaec20f05bb169721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20D=C3=ADaz=20M=C3=A1s?= Date: Wed, 9 Aug 2017 23:03:52 +0200 Subject: [PATCH] localtime.c and getopt_win32.c added unconditionally for the exiv2 app --- src/CMakeLists.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 33225771..2fd53340 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -218,16 +218,12 @@ SET( REMOTETEST ../samples/remotetest.cpp) # modify source lists to suit environment IF(NOT EXV_HAVE_TIMEGM ) SET( LIBEXIV2_SRC ${LIBEXIV2_SRC} localtime.c ) - IF ( EXV_HAS_XMP_SDK_LIBS ) - SET( EXIV2_SRC ${EXIV2_SRC} localtime.c ) - ENDIF() + SET( EXIV2_SRC ${EXIV2_SRC} localtime.c ) SET( PATHTEST_SRC ${PATHTEST_SRC} localtime.c ) ENDIF() IF( MSVC ) - IF ( EXV_HAS_XMP_SDK_LIBS ) - SET( EXIV2_SRC ${EXIV2_SRC} getopt_win32.c ) - ENDIF() + SET( EXIV2_SRC ${EXIV2_SRC} getopt_win32.c ) SET( LIBEXIV2_SRC ${LIBEXIV2_SRC} getopt_win32.c ) ENDIF( MSVC )