Fix Threads package not located by our config file

This fixes a missing dependency error when the imported GLFW target is
a static library.

Thanks to @mosra for reporting the bug.
master
Camilla Löwy ago%!(EXTRA string=6 years)
parent 5dd207048c
commit 781fbbadb0
  1. 2
      src/glfw3Config.cmake.in

@ -1 +1,3 @@
include(CMakeFindDependencyMacro)
find_dependency(Threads)
include("${CMAKE_CURRENT_LIST_DIR}/glfw3Targets.cmake")

Loading…
Cancel
Save