mirror of https://github.com/CGAL/cgal
Fix CMake error!
This commit is contained in:
parent
62c1507752
commit
a968f82c31
|
|
@ -41,7 +41,7 @@ if ( CGAL_FOUND AND CGAL_Qt4_FOUND AND QT4_FOUND )
|
|||
qt4_add_resources ( DT_RESOURCE_FILES ./Polygon_2.qrc )
|
||||
|
||||
# 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.
|
||||
add_executable ( Polygon_2 Polygon_2.cpp Polygon_2.moc ${DT_UI_FILES} ${DT_RESOURCE_FILES} )
|
||||
|
|
|
|||
Loading…
Reference in New Issue