all repos — mgba @ 22f4b1fef9c8942d56658fd7353566b7f1c8a3fe

mGBA Game Boy Advance Emulator

All: Set RPATH appropriately (why is this not the default?)
Jeffrey Pfau jeffrey@endrift.com
Sun, 22 Feb 2015 02:16:58 -0800
commit

22f4b1fef9c8942d56658fd7353566b7f1c8a3fe

parent

b2ed141ceaed62bfb7cad57afb9c56d41b18495e

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -34,6 +34,8 @@ if(NOT CMAKE_BUILD_TYPE)

set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type (e.g. Release or Debug)" FORCE) endif() +set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") + include(GNUInstallDirs) # Function definitions