Change CMake options /3

This commit is contained in:
Antonio T 2021-01-23 22:07:53 +01:00
parent 947f2610a8
commit b887bc4b85

View File

@ -130,9 +130,9 @@ PCRE_LDFLAGS="-lpcreposix"
%else %else
PCRE_LDFLAGS="-lpcre2-posix" PCRE_LDFLAGS="-lpcre2-posix"
%endif %endif
%cmake3 -S %{name}-%{version} -B %{name}-%{version}/build64 \ %cmake3 -S metis64 -B metis64/build64 \
-DCMAKE_BUILD_TYPE:STRING=Release \ -DCMAKE_BUILD_TYPE:STRING=Release \
-DGKLIB_PATH=%{name}-%{version}/GKlib \ -DGKLIB_PATH=metis64/GKlib \
-DSHARED:BOOL=TRUE \ -DSHARED:BOOL=TRUE \
-DOPENMP:BOOL=ON \ -DOPENMP:BOOL=ON \
-DPCRE:BOOL=ON \ -DPCRE:BOOL=ON \
@ -141,7 +141,7 @@ PCRE_LDFLAGS="-lpcre2-posix"
-DCMAKE_EXE_LINKER_FLAGS_RELEASE:STRING="%{__global_ldflags} $PCRE_LDFLAGS" \ -DCMAKE_EXE_LINKER_FLAGS_RELEASE:STRING="%{__global_ldflags} $PCRE_LDFLAGS" \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} .. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} ..
%make_build -C %{name}-%{version}/build64 %make_build -C metis64/build64
cd ../ cd ../
%endif %endif