mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-25 18:20:30 +01:00
8482cc3db8
Predictably, this broke dynamic linking setups where SDL is not available at build-time (it doesn't need to be).
12 lines
298 B
CMake
12 lines
298 B
CMake
@PACKAGE_INIT@
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
if(NOT TARGET IrrlichtMt::IrrlichtMt)
|
|
# private dependency only explicitly needed with static libs
|
|
if(@USE_SDL2@ AND NOT @BUILD_SHARED_LIBS@)
|
|
find_dependency(SDL2)
|
|
endif()
|
|
include("${CMAKE_CURRENT_LIST_DIR}/IrrlichtMtTargets.cmake")
|
|
endif()
|