From 8c11433414789e4a920aaad42d19d62a311e0628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Mon, 22 Apr 2013 19:00:29 +0000 Subject: Revert http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=46575 User: gerald Date: 2012/12/17 01:24 PM Log: Add libui_dirty. This is the autofoo way of solving the problem. Implement the cmake solution (which is used in wiretap/ and other places) which does not require building a separate lib. svn path=/trunk/; revision=48976 --- ui/CMakeLists.txt | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'ui/CMakeLists.txt') diff --git a/ui/CMakeLists.txt b/ui/CMakeLists.txt index 971b643f65..14e1ed2c10 100644 --- a/ui/CMakeLists.txt +++ b/ui/CMakeLists.txt @@ -48,12 +48,11 @@ add_lex_files(DIRTY_UI_SRC set(CLEAN_FILES ${COMMON_UI_SRC} - ${DIRTY_UI_SRC} ) if (WERROR) set_source_files_properties( - ${COMMON_UI_SRC} + ${CLEAN_FILES} PROPERTIES COMPILE_FLAGS -Werror ) @@ -62,12 +61,7 @@ endif() add_library(ui STATIC ${COMMON_UI_SRC} -) - -set_target_properties(ui PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}") - -add_library(ui_dirty STATIC ${DIRTY_UI_SRC} ) -set_target_properties(ui_dirty PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}") +set_target_properties(ui PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}") -- cgit v1.2.1