fix typo in cmake script. patch from Nikolai Saoukh

v0.27.3
HumanDynamo 15 years ago
parent f25fca8808
commit ff908547a5

@ -111,6 +111,6 @@ IF( EXIV2_ENABLE_BUILD_SAMPLES )
ADD_SUBDIRECTORY( samples )
ENDIF( EXIV2_ENABLE_BUILD_SAMPLES )
IF( EXIV2_BUILD_PO )
IF( EXIV2_ENABLE_BUILD_PO )
ADD_SUBDIRECTORY( po )
ENDIF( EXIV2_BUILD_PO )
ENDIF( EXIV2_ENABLE_BUILD_PO )

@ -276,5 +276,5 @@ OptionOutput( "Conversion of Windows XP tags: " EXIV2_ENABLE_PRINTUCS2
OptionOutput( "Nikon lens database: " EXIV2_ENABLE_LENSDATA )
OptionOutput( "Commercial build: " EXIV2_ENABLE_COMMERCIAL )
OptionOutput( "Build the unit tests: " EXIV2_ENABLE_BUILD_SAMPLES )
OptionOutput( "Building translations files: " EXIV2_BUILD_PO )
OptionOutput( "Building translations files: " EXIV2_ENABLE_BUILD_PO )
MESSAGE( STATUS "------------------------------------------------------------------" )

@ -172,9 +172,9 @@ IF( MSVC )
ENDIF( MSVC )
IF( EXIV2_ENABLE_XMP )
IF( NOT EXIV2_EXIV2_ENABLE_LIBXMP )
IF( NOT EXIV2_ENABLE_LIBXMP )
SET( LIBEXIV2_SRC ${XMPSRC} ${LIBEXIV2_SRC} )
ENDIF( NOT EXIV2_EXIV2_ENABLE_LIBXMP )
ENDIF( NOT EXIV2_ENABLE_LIBXMP )
ENDIF( EXIV2_ENABLE_XMP )
# ******************************************************************************
@ -188,9 +188,9 @@ SET_TARGET_PROPERTIES( exiv2 PROPERTIES VERSION ${GENERIC_LIB_VERSION}
TARGET_LINK_LIBRARIES( exiv2 ${EXPAT_LIBRARIES} )
if( EXIV2_EXIV2_ENABLE_LIBXMP )
if( EXIV2_ENABLE_LIBXMP )
TARGET_LINK_LIBRARIES( exiv2 ${XMPLIB} )
ENDIF( EXIV2_EXIV2_ENABLE_LIBXMP )
ENDIF( EXIV2_ENABLE_LIBXMP )
IF( EXIV2_ENABLE_PNG )
IF( ZLIB_FOUND )

Loading…
Cancel
Save