Backport from trunk:

| ------------------------------------------------------------------------
  | r57936 | lrineau | 2010-08-10 17:12:49 +0200 (Tue, 10 Aug 2010) | 2 lines
  | Changed paths:
  |    M /trunk/GraphicsView/demo/Polygon/CMakeLists.txt
  | 
  | Fix CMake error!
  | 
  | ------------------------------------------------------------------------
This commit is contained in:
Laurent Rineau 2010-08-10 15:23:18 +00:00
parent d1fa9f232b
commit 2f830ab071
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ if ( CGAL_FOUND AND CGAL_Qt4_FOUND AND QT4_FOUND )
qt4_add_resources ( DT_RESOURCE_FILES ./Polygon_2.qrc ) qt4_add_resources ( DT_RESOURCE_FILES ./Polygon_2.qrc )
# use the Qt MOC preprocessor on classes that derives from QObject # use the Qt MOC preprocessor on classes that derives from QObject
qt4_generate_moc( Polygon_2.cpp ${CMAKE_BINARY_DIR}/Polygon_2.moc ) qt4_generate_moc( Polygon_2.cpp "${CMAKE_CURRENT_BINARY_DIR}/Polygon_2.moc" )
# The executable itself. # The executable itself.
add_executable ( Polygon_2 Polygon_2.cpp Polygon_2.moc ${DT_UI_FILES} ${DT_RESOURCE_FILES} ) add_executable ( Polygon_2 Polygon_2.cpp Polygon_2.moc ${DT_UI_FILES} ${DT_RESOURCE_FILES} )