Bug #757

Wrong ELSE statement in src/CMakeLists.txt

Added by Michael Hansen almost 7 years ago. Updated about 6 years ago.

Status:ClosedStart date:06 Feb 2011
Priority:NormalDue date:
Assignee:Gilles Caulier% Done:

100%

Category:build
Target version:0.22

Description

Hi,

in src/CMakeLists.txt, the ELSE statement does not match the surrounding IF/ENDIF statements:

IF( EXIV2_ENABLE_PNG )
IF( ZLIB_FOUND )
IF ( MINGW OR UNIX )
TARGET_LINK_LIBRARIES( exiv2 ${ZLIB_LIBRARIES} )
ELSE ( MSVC )
TARGET_LINK_LIBRARIES( exiv2 zlibd )
ENDIF( MING OR UNIX)
ENDIF( ZLIB_FOUND )
ENDIF( EXIV2_ENABLE_PNG )

Should be either ELSE or use ELSEIF.

Michael

History

#1 Updated by Gilles Caulier almost 7 years ago

  • % Done changed from 0 to 100

Fixed with commit r2443

Gilles Caulier

#2 Updated by Andreas Huggel over 6 years ago

  • Category set to build
  • Status changed from New to Resolved
  • Assignee set to Gilles Caulier
  • Target version set to 0.22

Thanks Gilles!

#3 Updated by Andreas Huggel about 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux