Skip to content

Commit d492e4d

Browse files
futz12szx0427
andauthored
support imshow in gui on windows (#142)
* support imshow in gui on windows * update win32 imshow window behavior imshow() no longer blocks the thread --------- Co-authored-by: szx0427 <[email protected]>
1 parent 8bbadaa commit d492e4d

File tree

4 files changed

+591
-1
lines changed

4 files changed

+591
-1
lines changed

highgui/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
2121
${CMAKE_CURRENT_LIST_DIR}/src/display_fb.cpp)
2222
endif()
2323

24+
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
25+
list(APPEND highgui_srcs
26+
${CMAKE_CURRENT_LIST_DIR}/src/display_win32.cpp)
27+
endif()
28+
2429
if(WITH_CVI)
2530
list(APPEND highgui_srcs
2631
${CMAKE_CURRENT_LIST_DIR}/src/capture_cvi.cpp

0 commit comments

Comments
 (0)