patch from IRIE Shinsuke, use systems openjpeg on *nix.
[blender.git] / build_files / cmake / RpmBuild.cmake
index 19943fd14cbe5526156d5e521f45131cc3d168c3..90f69d9b3346f8db52f0651c39426d88d28e8b46 100644 (file)
@@ -15,20 +15,3 @@ else ( RPMBUILD )
     message(STATUS "rpmbuild NOT found. RPM generation will not be available")
     set(RPMBUILD_FOUND "NO")
 endif ( RPMBUILD )
-#
-# 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 )