osquery-1/cmake
Stefano Bonicatti fe887e917b
CMake: Add -pthread compile option on posix platforms (#6909)
osquery was already linking with -pthread and so linking
to libpthread on Linux, but it wasn't always defining
the _REENTRANT macro which is done by the -pthread option
given at compile time.
Although in the third party libraries that need it,
it should've been defined in other ways (directly or via a config.h),
always add -pthread for correctness and consistency.

Note: macOS doesn't need -pthread at link time because
pthreads are already implemented inside the libc library.
2021-01-18 16:58:12 -05:00
..
modules Enable cppcheck target in macOS builds (#6685) 2020-10-04 16:33:42 -04:00
wix_patches Fix MSI Service Error handling 2019-09-19 12:32:35 -04:00
CPackConfig.cmake.in Update copyright notices (#6589) 2020-08-11 16:46:54 -04:00
flags.cmake CMake: Add -pthread compile option on posix platforms (#6909) 2021-01-18 16:58:12 -05:00
globals.cmake Update cmake_minum_required to 3.17.5 and pin version in CI (#6770) 2020-11-30 15:02:19 +01:00
options.cmake CMake: Add an option to disable building libdpkg tables and library (#6848) 2020-12-26 16:09:16 -05:00
packaging.cmake cpack: Use CPACK_RPM_PACKAGE_RELEASE (#6805) 2020-12-13 22:22:55 -05:00
toolchain.cmake Restore PIE support being dropped on Linux (#6611) 2020-08-28 17:14:37 -04:00
utilities.cmake CMake: Detect missing headers during include namespace generation (#6855) 2020-12-27 19:42:49 -05:00