Skip to content

Commit

Permalink
Update osgEarth-config.cmake.in PR @2693
Browse files Browse the repository at this point in the history
  • Loading branch information
plevy authored Jan 30, 2025
1 parent 4ce2e0b commit 77ebcc9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/osgEarth-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# osgEarth_INCLUDE_DIR : include root
# osgEarth_SHARE_DIR : location of share folder containing cmake files and external resources
#
cmake_minimum_required(VERSION 3.10.0)
cmake_minimum_required(VERSION 3.11.0)

@PACKAGE_INIT@

Expand All @@ -36,6 +36,9 @@ find_dependency(OpenSceneGraph REQUIRED COMPONENTS osg osgDB osgGA osgUtil osgVi
foreach(MY_DEPENDENCY @OSGEARTH_PUBLIC_DEPENDENCIES@)
find_dependency(${MY_DEPENDENCY} REQUIRED)
endforeach()
if(UNIX)
find_dependency(Threads REQUIRED)
endif()

# include the target for each library in OSGEARTH_COMPONENTS:
foreach(MY_COMPONENT @OSGEARTH_COMPONENTS@)
Expand Down

0 comments on commit 77ebcc9

Please sign in to comment.