diff --git a/es-app/CMakeLists.txt b/es-app/CMakeLists.txt index 1e3da0b1f..b39be3476 100644 --- a/es-app/CMakeLists.txt +++ b/es-app/CMakeLists.txt @@ -108,6 +108,7 @@ else() include_directories(${COMMON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/src) add_executable(emulationstation ${ES_SOURCES} ${ES_HEADERS}) target_link_libraries(emulationstation ${COMMON_LIBRARIES} es-core) + set_target_properties(emulationstation PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE) endif() # Setup for installation and package generation.