forked from Mirrorlandia_minetest/irrlicht
parent
bd95662f03
commit
4719f3c114
@ -29,7 +29,7 @@ add_subdirectory(source/Irrlicht)
|
|||||||
|
|
||||||
# Installation of library and headers.
|
# Installation of library and headers.
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
install(TARGETS IrrlichtMt
|
install(TARGETS ${INSTALL_TARGETS}
|
||||||
EXPORT IrrlichtMt-export
|
EXPORT IrrlichtMt-export
|
||||||
DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||||
)
|
)
|
||||||
|
@ -401,3 +401,9 @@ set_target_properties(IrrlichtMt PROPERTIES
|
|||||||
if(WIN32)
|
if(WIN32)
|
||||||
set_target_properties(IrrlichtMt PROPERTIES PREFIX "") # for DLL name
|
set_target_properties(IrrlichtMt PROPERTIES PREFIX "") # for DLL name
|
||||||
endif()
|
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