From 747b64ee70e450405bf908f3d34b9b5dfe192c02 Mon Sep 17 00:00:00 2001 From: Robert Ghilduta Date: Sat, 2 Dec 2023 01:28:25 -0800 Subject: [PATCH] cmake: defines for MSVC --- host/common/thirdparty/ad936x/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/host/common/thirdparty/ad936x/CMakeLists.txt b/host/common/thirdparty/ad936x/CMakeLists.txt index aa7a0e29c..c134f7478 100644 --- a/host/common/thirdparty/ad936x/CMakeLists.txt +++ b/host/common/thirdparty/ad936x/CMakeLists.txt @@ -92,6 +92,7 @@ target_include_directories(ad936x PUBLIC ################################################################################ if(MSVC) + add_definitions(-DHAVE_STRUCT_TIMESPEC) target_include_directories(ad936x PUBLIC ${MSVC_C99_INCLUDES}) find_package(LibPThreadsWin32 REQUIRED)