* Add patch to generate relocatable export files. * Remove patch which searches libraries in MINGW_CHOST. * Fix the sed command which fixes paths in cmake files.
36 lines
964 B
Diff
36 lines
964 B
Diff
--- a/cmake/modules/instdirs.cmake
|
|
+++ b/cmake/modules/instdirs.cmake
|
|
@@ -44,28 +44,28 @@
|
|
|
|
set(
|
|
CMAKE_INSTALL_BINDIR
|
|
- ${CMAKE_INSTALL_EXEC_PREFIX}/bin
|
|
+ bin
|
|
CACHE PATH "General install location for user executables"
|
|
)
|
|
list(APPEND INSTALL_LOCATION_VARIABLES_LIST CMAKE_INSTALL_BINDIR)
|
|
|
|
set(
|
|
CMAKE_INSTALL_DATADIR
|
|
- ${CMAKE_INSTALL_PREFIX}/share
|
|
+ share
|
|
CACHE PATH "General install location for read-only architecture-independent data"
|
|
)
|
|
list(APPEND INSTALL_LOCATION_VARIABLES_LIST CMAKE_INSTALL_DATADIR)
|
|
|
|
set(
|
|
CMAKE_INSTALL_LIBDIR
|
|
- ${CMAKE_INSTALL_EXEC_PREFIX}/lib
|
|
+ lib
|
|
CACHE PATH "General install location for object code libraries"
|
|
)
|
|
list(APPEND INSTALL_LOCATION_VARIABLES_LIST CMAKE_INSTALL_LIBDIR)
|
|
|
|
set(
|
|
CMAKE_INSTALL_INCLUDEDIR
|
|
- ${CMAKE_INSTALL_PREFIX}/include
|
|
+ include
|
|
CACHE PATH "General install location for C header files"
|
|
)
|
|
list(APPEND INSTALL_LOCATION_VARIABLES_LIST CMAKE_INSTALL_INCLUDEDIR)
|