diff --git a/packaging/PortMidiConfig.cmake.in b/packaging/PortMidiConfig.cmake.in index a04928a..203ba30 100644 --- a/packaging/PortMidiConfig.cmake.in +++ b/packaging/PortMidiConfig.cmake.in @@ -4,6 +4,7 @@ include(CMakeFindDependencyMacro) if(UNIX AND NOT APPLE AND NOT HAIKU AND (@LINUX_DEFINES@ MATCHES ".*PMALSA.*")) find_dependency(ALSA) endif() +find_dependency(Threads) include("${CMAKE_CURRENT_LIST_DIR}/PortMidiTargets.cmake")