Update to 6.1.0
Fix cmake build
This commit is contained in:
parent
2d19ad2046
commit
a7c3c2a151
10
openvdb.spec
10
openvdb.spec
@ -108,16 +108,20 @@ mkdir build
|
||||
%build
|
||||
pushd build
|
||||
export CXXFLAGS="%{optflags} -Wl,--as-needed"
|
||||
|
||||
# Versioning on ilmbase is broken, using workaround
|
||||
# https://www.openvdb.org/documentation/doxygen/build.html#buildTroubleshooting
|
||||
%cmake \
|
||||
-DBLOSC_LOCATION=%{_prefix} \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="%{optflags} -fPIE" \
|
||||
-DCPPUNIT_LOCATION=%{_prefix} \
|
||||
-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON \
|
||||
-DGLEW_LOCATION=%{_prefix} \
|
||||
-DGLFW3_LOCATION=%{_prefix} \
|
||||
-DILMBASE_NAMESPACE_VERSIONING=ON \
|
||||
-DILMBASE_NAMESPACE_VERSIONING=OFF \
|
||||
-DILMBASE_LOCATION=%{_prefix} \
|
||||
-DOPENEXR_LOCATION=%{_prefix} \
|
||||
-DOPENEXR_NAMESPACE_VERSIONING=ON \
|
||||
-DOPENEXR_NAMESPACE_VERSIONING=OFF \
|
||||
-DOPENVDB_ENABLE_RPATH=OFF \
|
||||
-DOPENVDB_BUILD_UNITTESTS=OFF \
|
||||
-DPYTHON_VERSION=%{python_version} \
|
||||
@ -125,8 +129,8 @@ export CXXFLAGS="%{optflags} -Wl,--as-needed"
|
||||
-DTBB_LOCATION=%{_prefix} \
|
||||
-DUSE_GLFW3=True \
|
||||
..
|
||||
popd
|
||||
%make_build
|
||||
popd
|
||||
|
||||
# Build docs with previously saved Makefile
|
||||
pushd %{name}
|
||||
|
Loading…
Reference in New Issue
Block a user