Cleanup: remove contributors for CMake files
[blender.git] / build_files / cmake / RpmBuild.cmake
1 # VLMC RPM Finder
2 # Authors: Rohit Yadav <rohityadav89@gmail.com>
3 #
4
5 if(NOT DEFINED RPMBUILD)
6
7         find_program(RPMBUILD
8                 NAMES rpmbuild
9                 PATHS "/usr/bin")
10
11         mark_as_advanced(RPMBUILD)
12
13         if(RPMBUILD)
14                 message(STATUS "RPM Build Found: ${RPMBUILD}")
15         else()
16                 message(STATUS "RPM Build Not Found (rpmbuild). RPM generation will not be available")
17         endif()
18
19 endif()
20
21 if(RPMBUILD)
22         set(RPMBUILD_FOUND TRUE)
23 else()
24         set(RPMBUILD_FOUND FALSE)
25 endif()