File tree Expand file tree Collapse file tree
asam_cmp_capture_module/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ target_link_libraries(${TEST_APP} PRIVATE ${OPENDAQ_SDK_TARGET_NAMESPACE}::opend
3333 asam_cmp_capture_module_lib
3434)
3535
36+ if (MSVC )
37+ target_link_options (${TEST_APP} PRIVATE /DELAYLOAD:wpcap.dll /DELAYLOAD:packet.dll )
38+ target_link_libraries (${TEST_APP} PRIVATE delayimp )
39+ endif ()
40+
3641add_test (NAME ${TEST_APP}
3742 COMMAND $<TARGET_FILE :${TEST_APP} >
3843)
Original file line number Diff line number Diff line change @@ -24,6 +24,12 @@ target_link_libraries(${TEST_APP} PRIVATE ${OPENDAQ_SDK_TARGET_NAMESPACE}::opend
2424 asam_cmp_data_sink_lib
2525)
2626
27+ if (MSVC )
28+ target_link_options (${TEST_APP} PRIVATE /DELAYLOAD:wpcap.dll /DELAYLOAD:packet.dll )
29+ target_link_libraries (${TEST_APP} PRIVATE delayimp )
30+ endif ()
31+
32+
2733add_test (NAME ${TEST_APP}
2834 COMMAND $<TARGET_FILE :${TEST_APP} >
2935)
You can’t perform that action at this time.
0 commit comments