1 # - FindPthreadStubs 2 # 3 # Copyright (C) 2015 Valve Corporation 4 5 find_package(PkgConfig) 6 7 pkg_check_modules(PC_PTHREADSTUBS QUIET pthread-stubs) 8 9 include(FindPackageHandleStandardArgs) 10 find_package_handle_standard_args(PthreadStubs DEFAULT_MSG 11 PC_PTHREADSTUBS_FOUND) 12 13 set(PTHREADSTUBS_INCLUDE_DIRS "") 14 set(PTHREADSTUBS_LIBRARIES "") 15