Skip to content

Commit

Permalink
Update FindWDK.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
gmh5225 committed Oct 30, 2023
1 parent 6323fc9 commit 86f7be1
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion cmake/FindWDK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,20 @@ function(wdk_add_driver _target)
set_property(TARGET ${_target} APPEND_STRING PROPERTY INCLUDE_DIRECTORIES "${WDK_ROOT}/Include/wdf/kmdf/${WDK_KMDF}")
endif()

target_link_libraries(${_target} PRIVATE WDK::NTOSKRNL WDK::HAL WDK::WMILIB WDK::FLTMGR WDK::TDI WDK::NETIO WDK::NTSTRSAFE WDK::AUX_KLIB WDK::WDMSEC WDK::WDM WDK::LIBCNTPR)
target_link_libraries(${_target} PRIVATE
WDK::NTOSKRNL
WDK::HAL
WDK::WMILIB
WDK::FLTMGR
WDK::TDI
WDK::NETIO
WDK::NTSTRSAFE
WDK::AUX_KLIB
WDK::WDMSEC
WDK::WDM
WDK::LIBCNTPR
WDK::BUFFEROVERFLOWFASTFAILK
)

if(CMAKE_WIN64_DRIVER)
target_link_libraries(${_target} PRIVATE WDK::BUFFEROVERFLOWK)
Expand Down

0 comments on commit 86f7be1

Please sign in to comment.