forked from osmocom/wireshark
Fix CMake build:
- add some new files to CMakeLists - we do need _U_ for C++ now that we're sharing some headers between C and C++. svn path=/trunk/; revision=45650
This commit is contained in:
parent
11aa25f668
commit
97f5e101d9
|
@ -391,8 +391,5 @@
|
|||
#cmakedefine YYTEXT_POINTER
|
||||
|
||||
/* _U_ isn't needed for C++, simply don't name the variable.
|
||||
Also, running moc with -D_U_... breaks cmake's auto escaping magic. */
|
||||
#ifndef __cplusplus
|
||||
# define _U_ ${C_UNUSED}
|
||||
#endif
|
||||
|
||||
However, we do need it for some headers that are shared between C and C++. */
|
||||
#define _U_ ${C_UNUSED}
|
||||
|
|
|
@ -34,6 +34,7 @@ set(QTSHARK_H_SRC
|
|||
display_filter_combo.h
|
||||
display_filter_edit.h
|
||||
export_dissection_dialog.h
|
||||
export_object_dialog.h
|
||||
file_set_dialog.h
|
||||
import_text_dialog.h
|
||||
interface_tree.h
|
||||
|
@ -69,6 +70,7 @@ set(QTSHARK_CPP_SRC
|
|||
display_filter_combo.cpp
|
||||
display_filter_edit.cpp
|
||||
export_dissection_dialog.cpp
|
||||
export_object_dialog.cpp
|
||||
file_set_dialog.cpp
|
||||
import_text_dialog.cpp
|
||||
interface_tree.cpp
|
||||
|
@ -100,6 +102,7 @@ set(QTSHARK_SRC
|
|||
|
||||
set(QTSHARK_UI
|
||||
file_set_dialog.ui
|
||||
export_object_dialog.ui
|
||||
import_text_dialog.ui
|
||||
main_welcome.ui
|
||||
main_window.ui
|
||||
|
|
Loading…
Reference in New Issue