Skip to content

Commit 38953d5

Browse files
author
timlinux
committed
Use QT4_GENERATE_MOC to build moc
git-svn-id: http://svn.osgeo.org/qgis/trunk@6950 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent c90f2c4 commit 38953d5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/src/core/CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
# application test
55

66
SET(applicationtest_SRCS testqgsapplication.cpp)
7-
SET(applicationtest_MOC_CPPS testqgsapplication.cpp)
8-
QT4_WRAP_CPP(applicationtest_MOC_SRCS ${applicationtest_MOC_CPPS})
9-
ADD_CUSTOM_TARGET(applicationtestmoc ALL DEPENDS ${applicationtest_MOC_SRCS})
7+
QT4_GENERATE_MOC(${CMAKE_CURRENT_SOURCE_DIR}/testqgsapplication.cpp testqgsapplication.moc)
8+
#SET(applicationtest_MOC_CPPS testqgsapplication.cpp)
9+
#QT4_WRAP_CPP(applicationtest_MOC_SRCS ${applicationtest_MOC_CPPS})
10+
#ADD_CUSTOM_TARGET(applicationtestmoc ALL DEPENDS ${applicationtest_MOC_SRCS})
1011
#QT4_GENERATE_MOC(${CMAKE_CURRENT_SOURCE_DIR}/testqgsapplication.cpp moc_testqgsapplication.cxx)
1112

1213
#####################################################

0 commit comments

Comments
 (0)