Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix install of binaries with a static only library
Define CMAKE_INSTALL_RPATH only if ENABLE_SHARED is set otherwise the following issue occured: CMake Error at iiod/cmake_install.cmake:45 (file): file RPATH_CHANGE could not write new RPATH: /usr/lib to the file: /home/pjtexier/<path>/usr/sbin/iiod No valid ELF RPATH or RUNPATH entry exists in the file; File does not have a valid ELF identification. Call Stack (most recent call first): cmake_install.cmake:50 (include) Signed-off-by: Pierre-Jean Texier <[email protected]>
- Loading branch information