diff options
Diffstat (limited to 'externals')
-rw-r--r-- | externals/qhexedit/CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/externals/qhexedit/CMakeLists.txt b/externals/qhexedit/CMakeLists.txt index cfe168ef3..29ed5d2ba 100644 --- a/externals/qhexedit/CMakeLists.txt +++ b/externals/qhexedit/CMakeLists.txt @@ -1,13 +1,15 @@ +set(CMAKE_AUTOMOC ON) + set(SRCS commands.cpp qhexedit.cpp qhexedit_p.cpp xbytearray.cpp) -qt4_wrap_cpp(MOC_SRCS - qhexedit.h - qhexedit_p.h) +set(HEADERS + qhexedit.h + qhexedit_p.h) include_directories(${CMAKE_CURRENT_BINARY_DIR}) -add_library(qhexedit STATIC ${SRCS} ${MOC_SRCS}) +add_library(qhexedit STATIC ${SRCS} ${HEADERS}) |