Remove RPATH lines from CMakeLists.txt
When compiling in bitbake, they would cause this error:
do_package_qa: QA Issue: phosphor-buttons:
contains probably-redundant RPATH /usr/lib [useless-rpaths]
Tested: Built in an SDK and in bitbake
Change-Id: I063be1cd47d39c600b8e78c0977eb00a76cfa912
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c62c187..926f5ba 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,9 +3,6 @@
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
-set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_RPATH} ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})
-set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
-
include(GNUInstallDirs)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/inc)