mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-19 03:55:43 -04:00
[rp-stub] CMakeLists.txt: Use INSTALL(PROGRAMS) for rp-thumbnail and rp-config.
This ensures that the programs are installed as `chmod +x`.
This commit is contained in:
parent
54f6bd9894
commit
b51a71e846
@ -37,12 +37,12 @@ INSTALL(TARGETS rp-stub
|
||||
# CMake doesn't really like this, and in the Debian package build,
|
||||
# it results in errors due to attempting to create a symlink in
|
||||
# the real file system instead of the fakeroot.
|
||||
INSTALL(FILES "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/rp-stub"
|
||||
INSTALL(PROGRAMS "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/rp-stub"
|
||||
DESTINATION "${DIR_INSTALL_LIBEXEC}"
|
||||
RENAME "rp-thumbnail"
|
||||
COMPONENT "plugin"
|
||||
)
|
||||
INSTALL(FILES "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/rp-stub"
|
||||
INSTALL(PROGRAMS "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/rp-stub"
|
||||
DESTINATION "${DIR_INSTALL_EXE}"
|
||||
RENAME "rp-config"
|
||||
COMPONENT "plugin"
|
||||
|
Loading…
Reference in New Issue
Block a user