Skip to content

Commit

Permalink
cmake: defines for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
rghilduta committed Dec 2, 2023
1 parent e71bdb3 commit 747b64e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions host/common/thirdparty/ad936x/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 747b64e

Please sign in to comment.