mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-24 17:50:31 +01:00
parent
bd95662f03
commit
4719f3c114
@ -29,7 +29,7 @@ add_subdirectory(source/Irrlicht)
|
||||
|
||||
# Installation of library and headers.
|
||||
include(GNUInstallDirs)
|
||||
install(TARGETS IrrlichtMt
|
||||
install(TARGETS ${INSTALL_TARGETS}
|
||||
EXPORT IrrlichtMt-export
|
||||
DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||
)
|
||||
|
@ -401,3 +401,9 @@ set_target_properties(IrrlichtMt PROPERTIES
|
||||
if(WIN32)
|
||||
set_target_properties(IrrlichtMt PROPERTIES PREFIX "") # for DLL name
|
||||
endif()
|
||||
|
||||
if(ANDROID)
|
||||
set(INSTALL_TARGETS IrrlichtMt native_app_glue PARENT_SCOPE)
|
||||
else()
|
||||
set(INSTALL_TARGETS IrrlichtMt PARENT_SCOPE)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user