Commit d574d86d authored by Ghislain MARY's avatar Ghislain MARY

Initialize CMAKE_BUILD_TYPE in RPM spec file.

parent 3da1dd11
...@@ -54,7 +54,7 @@ Libraries and headers required to develop software with belle-sip ...@@ -54,7 +54,7 @@ Libraries and headers required to develop software with belle-sip
%setup -n %{name}-%{version}-%build_number %setup -n %{name}-%{version}-%build_number
%build %build
%{expand:%%%cmake_name} . -DCMAKE_INSTALL_LIBDIR=%{_lib} -DCMAKE_PREFIX_PATH:PATH=%{_prefix} @RPM_ALL_CMAKE_OPTIONS@ %{expand:%%%cmake_name} . -DCMAKE_BUILD_TYPE=@CMAKE_BUILD_TYPE@ -DCMAKE_INSTALL_LIBDIR=%{_lib} -DCMAKE_PREFIX_PATH:PATH=%{_prefix} @RPM_ALL_CMAKE_OPTIONS@
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
......
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