Chia-I Wu | 5b3e3d5 | 2015-02-25 12:45:34 +0800 | [diff] [blame] | 1 | # - FindPthreadStubs |
| 2 | # |
Courtney Goeltzenleuchter | fcbe16f | 2015-10-29 13:50:34 -0600 | [diff] [blame] | 3 | # Copyright (C) 2015 Valve Corporation |
Chia-I Wu | 5b3e3d5 | 2015-02-25 12:45:34 +0800 | [diff] [blame] | 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 "") |