diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-01-22 04:28:07 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-01-27 02:00:20 +0100 |
commit | 166e5a03d63e0b522876bfc072f26f213d5a3a62 (patch) | |
tree | 73b9ec9ab09e4a3fcf5c2c0b0ce6568b0b3e0b9b /cmake/GetPrerequisites.cmake | |
parent | 0c2e2094ee96ebe8764dd977bd0b5eb254579dcc (diff) | |
download | PrismLauncher-166e5a03d63e0b522876bfc072f26f213d5a3a62.tar.gz PrismLauncher-166e5a03d63e0b522876bfc072f26f213d5a3a62.tar.bz2 PrismLauncher-166e5a03d63e0b522876bfc072f26f213d5a3a62.zip |
NOISSUE rearrange build system
* Added install commands to the libraries instead of force installing files
* Most of the application cmake stuff moved to top level
* RPATH should now be set/cleared correctly
* Contains a fix for GH-1780
Diffstat (limited to 'cmake/GetPrerequisites.cmake')
-rw-r--r-- | cmake/GetPrerequisites.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/GetPrerequisites.cmake b/cmake/GetPrerequisites.cmake index d782ced9..39c2cc63 100644 --- a/cmake/GetPrerequisites.cmake +++ b/cmake/GetPrerequisites.cmake @@ -205,6 +205,13 @@ function(is_file_executable file result_var) return() endif() + # "file" version 5.22 does not print "(used shared libraries)" + # but uses "interpreter" + if("${file_ov}" MATCHES "shared object.*interpreter") + set(${result_var} 1 PARENT_SCOPE) + return() + endif() + else() message(STATUS "warning: No 'file' command, skipping execute_process...") endif() |