From d67e612f105d905e414e2f1269c95ee148751edc Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Tue, 26 Apr 2011 16:10:26 +0000 Subject: [PATCH] fixed highgui build on Windows --- modules/highgui/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/highgui/CMakeLists.txt b/modules/highgui/CMakeLists.txt index a60a7e11b..618b39648 100644 --- a/modules/highgui/CMakeLists.txt +++ b/modules/highgui/CMakeLists.txt @@ -246,6 +246,10 @@ include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include" "${CMAKE_CURRENT_SOURCE_DIR}/src" "${CMAKE_CURRENT_BINARY_DIR}") +if(WIN32) + include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../../3rdparty/include") +endif() + add_library(${the_target} ${lib_srcs} ${highgui_hdrs} ${grfmt_hdrs} ${highgui_ext_hdrs}) if(PCHSupport_FOUND)