gst-libav1: update to 1.24.9
[oi-userland.git] / components / library / physfs / patches / 01-CMakeLists_txt-INSTALLDIR.patch
blob6b6419e3a88e1e39dc07f6692eba0b1e2c81f3e2
1 Fix CMake recipes for libphysfs to support configurable installation locations
2 (C) 2016 by Jim Klimov
4 --- a/CMakeLists.txt.orig 2012-10-23 05:41:04.000000000 +0200
5 +++ b/CMakeLists.txt 2016-04-27 14:24:58.171477010 +0200
6 @@ -338,10 +338,12 @@
7 ENDIF(wxWidgets_FOUND)
8 ENDIF(PHYSFS_BUILD_WX_TEST)
10 +OPTION(CMAKE_INSTALL_LIBDIR "Relative subdir under prefix for libraries." lib)
11 +OPTION(CMAKE_INSTALL_BINDIR "Relative subdir under prefix for binary programs." bin)
12 INSTALL(TARGETS ${PHYSFS_INSTALL_TARGETS}
13 - RUNTIME DESTINATION bin
14 - LIBRARY DESTINATION lib${LIB_SUFFIX}
15 - ARCHIVE DESTINATION lib${LIB_SUFFIX})
16 + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
17 + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
18 + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
19 INSTALL(FILES physfs.h DESTINATION include)
21 FIND_PACKAGE(Doxygen)