forked from bartvdbraak/blender
7809d7d0c8
disallow 0% rendersize. also mark new cmake vars as advanced: RPMBUILD, X11_XF86keysym_INCLUDE_PATH
20 lines
457 B
CMake
20 lines
457 B
CMake
#
|
|
# VLMC RPM Finder
|
|
# Authors: Rohit Yadav <rohityadav89@gmail.com>
|
|
#
|
|
|
|
find_program(RPMBUILD
|
|
NAMES rpmbuild
|
|
PATHS "/usr/bin")
|
|
|
|
mark_as_advanced(RPMBUILD)
|
|
|
|
if(RPMBUILD)
|
|
get_filename_component(RPMBUILD_PATH ${RPMBUILD} ABSOLUTE)
|
|
message(STATUS "Found rpmbuild : ${RPMBUILD_PATH}")
|
|
set(RPMBUILD_FOUND "YES")
|
|
else(RPMBUILD)
|
|
message(STATUS "rpmbuild NOT found. RPM generation will not be available")
|
|
set(RPMBUILD_FOUND "NO")
|
|
endif()
|