--- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,6 +21,8 @@ cmake_minimum_required(VERSION 3.16) message(STATUS "CMake version: ${CMAKE_VERSION}") +set(CMAKE_SKIP_RPATH ON) + if(POLICY CMP0076) # make target_sources() convert relative paths to absolute cmake_policy(SET CMP0076 NEW)