updates for Fedora Core 20

metadata
Wenzel Jakob 2014-02-27 06:05:20 -05:00
parent e8e8aba757
commit 5fc6286107
2 changed files with 2 additions and 5 deletions

View File

@ -24,7 +24,7 @@ building custom plugins and other extensions for Mitsuba.
%prep
%setup -q
%build
cat build/config-linux-gcc.py | sed -e "s/\(boost_[^']*\)/\1-mt/g" > config.py
cat build/config-linux-gcc.py | sed -e "s/collada14dom/libcollada-dom2.4-dp/g" | sed -e "s/include\/collada-dom/include\/collada-dom2.4/g" > config.py
scons
%install
rm -rf $RPM_BUILD_ROOT

View File

@ -7,9 +7,6 @@ if hasCollada:
import platform
colladaEnv = mainEnv.Clone()
if platform.linux_distribution()[0] == 'Fedora':
pass # Use old COLLADA-DOM 2.3
else: # Everyone else uses 2.4
colladaEnv.Prepend(CXXFLAGS=['-DCOLLADA_DOM_2_4'])
# Build the COLLADA importer if COLLADA-DOM is vailable