mirror of https://github.com/mgba-emu/mgba.git
CMake: Minor fixes
This commit is contained in:
parent
70a34a58f0
commit
542824e3c0
|
@ -152,6 +152,9 @@ endif()
|
|||
mark_as_advanced(DISTBUILD)
|
||||
|
||||
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${LIBDIR}")
|
||||
if(${CMAKE_INSTALL_PREFIX} STREQUAL "/usr")
|
||||
set(CMAKE_SKIP_RPATH ON)
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED MANDIR)
|
||||
set(MANDIR ${CMAKE_INSTALL_MANDIR})
|
||||
|
|
|
@ -311,7 +311,6 @@ if(BUILD_GL OR BUILD_GLES2 OR BUILD_EPOXY)
|
|||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/res/shaders DESTINATION ${DATADIR} COMPONENT ${BINARY_NAME}-qt)
|
||||
endif()
|
||||
if(ENABLE_SCRIPTING AND USE_LUA)
|
||||
message(STATUS ${CMAKE_SOURCE_DIR}/res/scripts)
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/res/scripts DESTINATION ${DATADIR} COMPONENT ${BINARY_NAME}-qt)
|
||||
endif()
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/res/nointro.dat DESTINATION ${DATADIR} COMPONENT ${BINARY_NAME}-qt)
|
||||
|
|
Loading…
Reference in New Issue