when building blender as a py module use add_library(... MODULE on all systems, was...
[blender.git] / build_files / cmake / RpmBuild.cmake
index 2fdd0a729324e81521e9615276018cd0c6205d5f..f46c41e4d0e0fede5cde11751e2ab68d470c8ecb 100644 (file)
@@ -13,7 +13,7 @@ if(NOT DEFINED RPMBUILD)
 
        if(RPMBUILD)
                message(STATUS "RPM Build Found: ${RPMBUILD}")
-       else(RPMBUILD
+       else() 
                message(STATUS "RPM Build Not Found (rpmbuild). RPM generation will not be available")
        endif()
 
@@ -21,6 +21,6 @@ endif()
 
 if(RPMBUILD)
        set(RPMBUILD_FOUND TRUE)
-else(RPMBUILD
+else() 
        set(RPMBUILD_FOUND FALSE)
 endif()
\ No newline at end of file