mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-06 16:56:40 +08:00
CMake: allow installing binary to non-default dir
This commit is contained in:
parent
1694999bce
commit
36665da832
@ -37,6 +37,10 @@ set (DIR_SHARE ${DIR_PREFIX}/share)
|
||||
set (DIR_BIN ${DIR_PREFIX}/bin)
|
||||
set (DIR_ETC ${DIR_PREFIX}/etc)
|
||||
|
||||
if (DEFINED CMAKE_INSTALL_BINDIR)
|
||||
set (DIR_BIN ${CMAKE_INSTALL_BINDIR})
|
||||
endif (DEFINED CMAKE_INSTALL_BINDIR)
|
||||
|
||||
if (DEFINED CMAKE_INSTALL_LIBDIR)
|
||||
set (DIR_LIBRARY ${CMAKE_INSTALL_LIBDIR})
|
||||
set (DIR_LIBRARY_STATIC ${CMAKE_INSTALL_LIBDIR})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user