Fixed a CMake issue with the runtime path.

This commit is contained in:
Leon Styhre 2020-11-26 20:03:37 +01:00
parent 5d1b6d2475
commit 8b867ac4e2

View file

@ -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.