Applied fix from bug #2324: ocv_list_unique makes for incorrect linking
authorAndrey Kamaev <andrey.kamaev@itseez.com>
Wed, 10 Oct 2012 15:40:55 +0000 (19:40 +0400)
committerAndrey Kamaev <andrey.kamaev@itseez.com>
Wed, 10 Oct 2012 15:40:55 +0000 (19:40 +0400)
modules/highgui/CMakeLists.txt

index 30c0c82..e653737 100644 (file)
@@ -220,7 +220,6 @@ source_group("Include" FILES ${highgui_ext_hdrs})
 ocv_set_module_sources(HEADERS ${highgui_ext_hdrs} SOURCES ${highgui_srcs} ${highgui_hdrs} ${grfmt_srcs} ${grfmt_hdrs})
 ocv_module_include_directories()
 
-ocv_list_unique(HIGHGUI_LIBRARIES)
 ocv_create_module(${GRFMT_LIBS} ${HIGHGUI_LIBRARIES})
 
 if(BUILD_SHARED_LIBS)