From 373d0d7823c39b30b318f91886f0041d581213cb Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 31 Aug 2022 11:54:19 +0100 Subject: [PATCH] Fix check for `pthread_threadid_np` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise, the test always fails with "error: ‘uint64_t’ was not declared in this scope". --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 84312e8d..92724936 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,7 @@ check_cxx_source_compiles(" HAVE_PTHREAD_GETNAME_NP) check_cxx_source_compiles(" + #include #include int main(int argc, char** argv) {