Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Add missing dependency find to package config
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Jan 28, 2024
1 parent 4299ee2 commit a4f94b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Config.cmake.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
@PACKAGE_INIT@

include(CMakeFindDependencyMacro)

if(NOT TARGET IrrlichtMt::IrrlichtMt)
if(@USE_SDL2@)
find_dependency(SDL2)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/IrrlichtMtTargets.cmake")
endif()

0 comments on commit a4f94b7

Please sign in to comment.