From b7ecc9543ad0ee9d5d083fe1ca7018f876b2ae10 Mon Sep 17 00:00:00 2001 From: Sacha Date: Mon, 18 Aug 2014 14:35:44 +1000 Subject: CMake Cleanup --- externals/qhexedit/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'externals') 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}) -- cgit v1.2.3