Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 11bddf07 authored by TAVERNIER Vincent's avatar TAVERNIER Vincent
Browse files

Fix dev packages on multiarch

parent cb214801
No related branches found
No related tags found
No related merge requests found
......@@ -164,6 +164,8 @@ set_target_properties(shadertoy PROPERTIES
install(TARGETS shadertoy
DESTINATION ${CMAKE_INSTALL_LIBDIR}
EXPORT shadertoy)
install(EXPORT shadertoy
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/shadertoy)
install(EXPORT shadertoy
COMPONENT shadertoy-dev
......@@ -178,7 +180,7 @@ configure_file(shadertoy-config-version.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/sha
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/shadertoy-config.cmake
${CMAKE_CURRENT_BINARY_DIR}/shadertoy-config-version.cmake
COMPONENT shadertoy-dev
DESTINATION ${CMAKE_INSTALL_DATADIR}/shadertoy)
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/shadertoy)
# Install the examples
install(DIRECTORY examples
......
......@@ -30,7 +30,7 @@ for DISTRIBUTION in stretch xenial; do
echo "[==== TESTING ARTIFACTS $DISTRIBUTION-$ARCH ====]" >&2
(cd $LIBDIRECTORY &&
autopkgtest ../libshadertoy-$LIBVERSION-$DISTRIBUTION/libshadertoy*_$ARCH.deb \
../libshadertoy-$LIBVERSION-$DISTRIBUTION/libshadertoy-dev_${LIBVERSION}_all.deb \
../libshadertoy-$LIBVERSION-$DISTRIBUTION/libshadertoy-dev_${LIBVERSION}_$ARCH.deb \
-- schroot $DISTRIBUTION-$ARCH-sbuild)
if [ "$?" -ne "0" ]; then
echo "[==== TESTS FAILED FOR $DISTRIBUTION-$ARCH ====]" >&2
......
......@@ -12,7 +12,7 @@ Vcs-Browser: https://gitlab.inria.fr/vtaverni/libshadertoy/tree/master
Package: libshadertoy-dev
Section: libdevel
Architecture: all
Architecture: any
Depends: libshadertoy0 (= ${binary:Version}), ${misc:Depends},
libboost-all-dev, libsoil-dev, libjpeg-dev, libglew-dev, libgl-dev,
libglm-dev, libunwind-dev
......
usr/include
usr/include/*
usr/lib/*/cmake/shadertoy/*
usr/share/shadertoy/*
usr/share/doc/*
\ No newline at end of file
usr/share/doc/*
usr/lib
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment