cmake HAVE_TWO_PARAM_SCHED_SETAFFINITY examples

toggl-open-source/toggldesktop third_party/poco/Foundation/CMakeLists.txt :135

CHECK_CXX_SOURCE_COMPILES("
			#include <sched.h>
			int main() {
				cpu_set_t cpumask;
				sched_setaffinity( 0, &cpumask );
				return 0;
			}" HAVE_TWO_PARAM_SCHED_SETAFFINITY)

toggl-open-source/toggldesktop third_party/poco/Foundation/CMakeLists.txt :145

add_definitions(-DHAVE_TWO_PARAM_SCHED_SETAFFINITY)

toggl-open-source/toggldesktop third_party/poco/Foundation/CMakeLists.txt :146

endif(HAVE_TWO_PARAM_SCHED_SETAFFINITY)