mirror of https://github.com/mgba-emu/mgba.git
All: Set RPATH appropriately (why is this not the default?)
This commit is contained in:
parent
b2ed141cea
commit
22f4b1fef9
|
@ -34,6 +34,8 @@ if(NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type (e.g. Release or Debug)" FORCE)
|
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type (e.g. Release or Debug)" FORCE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
# Function definitions
|
# Function definitions
|
||||||
|
|
Loading…
Reference in New Issue