fixed highgui build on Windows

This commit is contained in:
Vadim Pisarevsky 2011-04-26 16:10:26 +00:00
parent 5f6beac5d5
commit d67e612f10

View File

@ -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)