mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
11 lines
294 B
CMake
11 lines
294 B
CMake
|
IF(NOT RPM AND NOT DEB)
|
||
|
#
|
||
|
# use -DEXTRA_FILES='/path/to/file=where/to/install;/bin/dd=bin;...'
|
||
|
#
|
||
|
FOREACH(f ${EXTRA_FILES})
|
||
|
STRING(REGEX REPLACE "=.*$" "" from ${f})
|
||
|
STRING(REGEX REPLACE "^.*=" "" to ${f})
|
||
|
INSTALL(PROGRAMS ${from} DESTINATION ${to})
|
||
|
ENDFOREACH()
|
||
|
ENDIF()
|