summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--ui/CMakeLists.txt10
2 files changed, 2 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2133c97ca5..590d50ee07 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -768,7 +768,6 @@ if(BUILD_wireshark AND GTK_FOUND)
set(wireshark_LIBS
gtkui
ui
- ui_dirty
${GTK2_LIBRARIES}
${GTK3_LIBRARIES}
${GTHREAD2_LIBRARIES}
@@ -793,7 +792,6 @@ if(BUILD_qtshark AND QT_FOUND)
set(qtshark_LIBS
qtui
ui
- ui_dirty
${QT_LIBRARIES}
${GTHREAD2_LIBRARIES}
codecs
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}")