Commit 324efe46 authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI
Browse files

Don't check for alien and fakeroot on redhat-like distributions

parent 2db6f33a
......@@ -51,10 +51,11 @@ ENDFUNCTION()
find_package(Doxygen REQUIRED)
# the rest will be checked manually
FOREACH(PROGNAME rpmbuild alien fakeroot bison)
FOREACH(PROGNAME rpmbuild bison)
CHECK_PROGRAM(${PROGNAME})
ENDFOREACH()
FOREACH(LIBNAME hiredis ssl mysqlclient mysqlclient_r)
CHECK_LIBRARY(${LIBNAME})
ENDFOREACH()
......@@ -142,4 +143,6 @@ message( STATUS "SYSTEM is ${CMAKE_SYSTEM}")
if(PLATFORM STREQUAL "Debian")
set(LINPHONE_BUILDER_RPMBUILD_GLOBAL_OPTION "--nodeps --define 'dist deb' --define '_libdir %{_prefix}/${CMAKE_INSTALL_LIBDIR}'")
CHECK_PROGRAM(alien)
CHECK_PROGRAM(fakeroot)
endif()
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment