mirror of https://github.com/CGAL/cgal
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:
parent
d1fa9f232b
commit
2f830ab071
|
|
@ -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} )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue