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.
This commit is contained in:
Camilla Löwy 2019-12-26 15:34:01 +01:00
parent 5dd207048c
commit 781fbbadb0

View File

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