Commented out iberty_library stuff

The iberty_library could not be found anywhere in my repos or on my system. Compiles and runs fine without.
pull/40/head
Jan Winkler 2012-07-19 16:51:03 +02:00
parent 7cc4984932
commit 56de93c8c7
2 changed files with 8 additions and 4 deletions

View File

@ -3,6 +3,9 @@ cmake_minimum_required(VERSION 2.8)
# Grive version. remember to update it for every new release!
set( GRIVE_VERSION "0.2.0" )
# Actually find the boost libraries
find_package( Boost )
# common compile options
add_definitions( -DVERSION="${GRIVE_VERSION}" )
add_definitions( -D_FILE_OFFSET_BITS=64 )

View File

@ -27,9 +27,10 @@ if ( BFD_FOUND )
endif ( BFD_FOUND )
if ( IBERTY_FOUND )
set( OPT_LIBS ${OPT_LIBS} ${IBERTY_LIBRARY} )
endif ( IBERTY_FOUND )
# Not found on my system or in any standard repos.
#if ( IBERTY_FOUND )
# set( OPT_LIBS ${OPT_LIBS} ${IBERTY_LIBRARY} )
#endif ( IBERTY_FOUND )
if ( ZLIB_FOUND )
set( OPT_LIBS ${OPT_LIBS} ${ZLIB_LIBRARIES} )
@ -81,7 +82,7 @@ target_link_libraries( grive
${LIBGCRYPT_LIBRARIES}
${GDBM_LIBRARIES}
${Boost_LIBRARIES}
${IBERTY_LIBRARY}
#${IBERTY_LIBRARY}
${EXPAT_LIBRARY}
${OPT_LIBS}
)