mirror of
https://github.com/minetest/irrlicht.git
synced 2025-06-28 06:20:21 +02:00
Work around bug installing targets created in a subdirectory
This commit is contained in:
@ -402,8 +402,14 @@ if(WIN32)
|
||||
set_target_properties(IrrlichtMt PROPERTIES PREFIX "") # for DLL name
|
||||
endif()
|
||||
|
||||
# Installation of library
|
||||
if(ANDROID)
|
||||
set(INSTALL_TARGETS IrrlichtMt native_app_glue PARENT_SCOPE)
|
||||
set(INSTALL_TARGETS IrrlichtMt native_app_glue)
|
||||
else()
|
||||
set(INSTALL_TARGETS IrrlichtMt PARENT_SCOPE)
|
||||
set(INSTALL_TARGETS IrrlichtMt)
|
||||
endif()
|
||||
|
||||
install(TARGETS ${INSTALL_TARGETS}
|
||||
EXPORT IrrlichtMt-export
|
||||
DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||
)
|
||||
|
Reference in New Issue
Block a user