mirror of
https://github.com/minetest/irrlicht.git
synced 2024-09-07 22:36:43 +02:00
Adjust package config dependency again
Predictably, this broke dynamic linking setups where SDL is not available at build-time (it doesn't need to be).
This commit is contained in:
parent
a4f94b7656
commit
8482cc3db8
@ -3,7 +3,8 @@
|
||||
include(CMakeFindDependencyMacro)
|
||||
|
||||
if(NOT TARGET IrrlichtMt::IrrlichtMt)
|
||||
if(@USE_SDL2@)
|
||||
# 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")
|
||||
|
Loading…
Reference in New Issue
Block a user