Welcome to mirror list, hosted at ThFree Co, Russian Federation.

RpmBuild.cmake « cmake « build_files - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 90f69d9b3346f8db52f0651c39426d88d28e8b46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# VLMC RPM Finder
# Authors: Rohit Yadav <rohityadav89@gmail.com>
#

find_program(RPMBUILD
    NAMES rpmbuild
    PATHS "/usr/bin")

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 ( RPMBUILD )