Delete extra_split if we're not using it. This keeps its handle from
[metze/wireshark/wip.git] / ui / CMakeLists.txt
index 664cb25d8ffe415b87dbd612e878359dacd949d8..ff15e2eb99dae2294011f74d1e5e6d6834156b1f 100644 (file)
@@ -28,11 +28,18 @@ set(COMMON_UI_SRC
        export_object_dicom.c
        export_object_http.c
        export_object_smb.c
+       follow.c
        help_url.c
+       packet_list_utils.c
        iface_lists.c
        preference_utils.c
        profile.c
+       recent.c
        ssl_key_export.c
+       software_update.c
+       tap-megaco-common.c
+       tap-rtp-common.c
+       tap-tcp-stream.c
        text_import.c
        time_shift.c
        util.c
@@ -46,12 +53,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
        )
@@ -60,12 +66,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}")