summaryrefslogtreecommitdiff
path: root/sci-libs/libdspau/files/libdspau-9999_fix_cmake_libdir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/libdspau/files/libdspau-9999_fix_cmake_libdir.patch')
-rw-r--r--sci-libs/libdspau/files/libdspau-9999_fix_cmake_libdir.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/sci-libs/libdspau/files/libdspau-9999_fix_cmake_libdir.patch b/sci-libs/libdspau/files/libdspau-9999_fix_cmake_libdir.patch
new file mode 100644
index 0000000..b821e14
--- /dev/null
+++ b/sci-libs/libdspau/files/libdspau-9999_fix_cmake_libdir.patch
@@ -0,0 +1,10 @@
+diff --git a/3rdparty/libdspau/CMakeLists.txt b/3rdparty/libdspau/CMakeLists.txt
+index f994466f..71507e2a 100644
+--- a/3rdparty/libdspau/CMakeLists.txt
++++ b/3rdparty/libdspau/CMakeLists.txt
+@@ -35,4 +35,4 @@ TARGET_LINK_LIBRARIES(dspau ${FFTW3_LIBRARIES} ${M_LIB})
+ #add an install target here
+ INSTALL(FILES libdspau.h DESTINATION include)
+
+-INSTALL(TARGETS dspau LIBRARY DESTINATION lib)
++INSTALL(TARGETS dspau LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})