mirror of https://github.com/vitalif/grive2
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
parent
7cc4984932
commit
56de93c8c7
|
@ -3,6 +3,9 @@ cmake_minimum_required(VERSION 2.8)
|
||||||
# Grive version. remember to update it for every new release!
|
# Grive version. remember to update it for every new release!
|
||||||
set( GRIVE_VERSION "0.2.0" )
|
set( GRIVE_VERSION "0.2.0" )
|
||||||
|
|
||||||
|
# Actually find the boost libraries
|
||||||
|
find_package( Boost )
|
||||||
|
|
||||||
# common compile options
|
# common compile options
|
||||||
add_definitions( -DVERSION="${GRIVE_VERSION}" )
|
add_definitions( -DVERSION="${GRIVE_VERSION}" )
|
||||||
add_definitions( -D_FILE_OFFSET_BITS=64 )
|
add_definitions( -D_FILE_OFFSET_BITS=64 )
|
||||||
|
|
|
@ -27,9 +27,10 @@ if ( BFD_FOUND )
|
||||||
|
|
||||||
endif ( BFD_FOUND )
|
endif ( BFD_FOUND )
|
||||||
|
|
||||||
if ( IBERTY_FOUND )
|
# Not found on my system or in any standard repos.
|
||||||
set( OPT_LIBS ${OPT_LIBS} ${IBERTY_LIBRARY} )
|
#if ( IBERTY_FOUND )
|
||||||
endif ( IBERTY_FOUND )
|
# set( OPT_LIBS ${OPT_LIBS} ${IBERTY_LIBRARY} )
|
||||||
|
#endif ( IBERTY_FOUND )
|
||||||
|
|
||||||
if ( ZLIB_FOUND )
|
if ( ZLIB_FOUND )
|
||||||
set( OPT_LIBS ${OPT_LIBS} ${ZLIB_LIBRARIES} )
|
set( OPT_LIBS ${OPT_LIBS} ${ZLIB_LIBRARIES} )
|
||||||
|
@ -81,7 +82,7 @@ target_link_libraries( grive
|
||||||
${LIBGCRYPT_LIBRARIES}
|
${LIBGCRYPT_LIBRARIES}
|
||||||
${GDBM_LIBRARIES}
|
${GDBM_LIBRARIES}
|
||||||
${Boost_LIBRARIES}
|
${Boost_LIBRARIES}
|
||||||
${IBERTY_LIBRARY}
|
#${IBERTY_LIBRARY}
|
||||||
${EXPAT_LIBRARY}
|
${EXPAT_LIBRARY}
|
||||||
${OPT_LIBS}
|
${OPT_LIBS}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue