Commit dec64a62 authored by Marek Olejnik's avatar Marek Olejnik Committed by GStreamer Marge Bot
Browse files

Remove unnecessary `.` at the end of cmake command

`.` at the end of cmake command is not necessary because the build and
work directory are explicitly specified with -H and -B options. In
cmake version 3.10.2 and older cmake 3 version  dot at the end leads
to ovewriting the value of -H option.

Part-of: <gstreamer/cerbero!484>
parent da031e94
......@@ -51,13 +51,14 @@ class BuildTools (BootstrapperBase, Fetch):
self.BUILD_TOOLS.append('cmake')
if self.config.platform == Platform.LINUX:
# dav1d requires nasm >=2.13.02
# We require cmake 3.10 for out-of-source-tree builds.
# RHEL 8, Ubuntu 18.04, and Debian Buster are fine.
if self.config.distro_version in (DistroVersion.REDHAT_6, DistroVersion.REDHAT_7,
DistroVersion.AMAZON_LINUX, DistroVersion.UBUNTU_XENIAL,
DistroVersion.DEBIAN_STRETCH):
self.BUILD_TOOLS.append('cmake')
self.BUILD_TOOLS.append('nasm')
# We require cmake 3 for out-of-source-tree builds.
if self.config.distro_version in (DistroVersion.REDHAT_6, DistroVersion.REDHAT_7,
DistroVersion.AMAZON_LINUX):
self.BUILD_TOOLS.append('cmake')
if self.config.target_platform == Platform.IOS:
self.BUILD_TOOLS.append('gas-preprocessor')
if self.config.target_platform != Platform.LINUX and not \
......
......@@ -622,7 +622,7 @@ class CMake (MakefilesBase):
'-DCMAKE_INSTALL_INCLUDEDIR=include ' \
'%(options)s -DCMAKE_BUILD_TYPE=Release '\
'-DCMAKE_FIND_ROOT_PATH=$CERBERO_PREFIX '\
'-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true . '
'-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true '
def __init__(self):
MakefilesBase.__init__(self)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment