mirror of
https://github.com/blawar/GLideN64.git
synced 2024-06-30 08:24:05 +00:00
cmake: Add an install target
This commit is contained in:
parent
e0d5b0be7b
commit
e25cb4f111
|
@ -21,6 +21,8 @@ set_property(SOURCE ${PATH_REVISION} PROPERTY SKIP_AUTOGEN ON)
|
|||
|
||||
project( GLideN64 )
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
set(GLideN64_SOURCES
|
||||
3DMath.cpp
|
||||
Combiner.cpp
|
||||
|
@ -555,3 +557,12 @@ if( CMAKE_BUILD_TYPE STREQUAL "Release")
|
|||
endif (NOHQ)
|
||||
endif(SDL)
|
||||
endif( CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
|
||||
if(UNIX AND NOT APPLE AND NOT ANDROID)
|
||||
install(TARGETS ${GLideN64_DLL_NAME}
|
||||
DESTINATION "${CMAKE_INSTALL_LIBDIR}/mupen64plus"
|
||||
)
|
||||
install(FILES ../ini/${PROJECT_NAME}.custom.ini
|
||||
DESTINATION "${CMAKE_INSTALL_DATADIR}/mupen64plus"
|
||||
)
|
||||
endif(UNIX AND NOT APPLE AND NOT ANDROID)
|
||||
|
|
Loading…
Reference in New Issue
Block a user