source: trunk/dports/gis/cgal/files/patch-CMakeLists.txt.diff @ 87107

Last change on this file since 87107 was 87107, checked in by ryandesign@…, 8 years ago

cgal: update to 3.9, use gcc-4.2 instead of 4.0 and when demos variant is being used; see #31562

File size: 2.4 KB
  • demo/Mesh_3/CMakeLists.txt

    old new  
    202202    else()
    203203      set(other_sources ${ARGN_TAIL})
    204204    endif()
    205     qt4_generate_moc( "${CMAKE_CURRENT_SOURCE_DIR}/${plugin_implementation_base_name}.cpp" ${plugin_implementation_base_name}.moc )
     205    qt4_generate_moc( "${CMAKE_CURRENT_SOURCE_DIR}/${plugin_implementation_base_name}.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/${plugin_implementation_base_name}.moc" )
    206206    add_file_dependencies( ${plugin_implementation_base_name}.moc "${CMAKE_CURRENT_SOURCE_DIR}/${plugin_implementation_base_name}.cpp" )
    207207
    208208    add_library(${plugin_name} MODULE ${option} ${plugin_implementation_base_name}.moc ${plugin_implementation_base_name}.cpp ${other_sources})
  • demo/Mesh_3/implicit_functions/CMakeLists.txt

    old new  
    5151    else()
    5252      set(other_sources ${ARGN_TAIL})
    5353    endif()
    54     qt4_generate_moc( "${CMAKE_CURRENT_SOURCE_DIR}/${plugin_implementation_base_name}.cpp" ${plugin_implementation_base_name}.moc )
     54    qt4_generate_moc( "${CMAKE_CURRENT_SOURCE_DIR}/${plugin_implementation_base_name}.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/${plugin_implementation_base_name}.moc" )
    5555    add_file_dependencies( ${plugin_implementation_base_name}.moc "${CMAKE_CURRENT_SOURCE_DIR}/${plugin_implementation_base_name}.cpp" )
    5656
    5757    add_library(${plugin_name} MODULE ${option} ${plugin_implementation_base_name}.moc ${plugin_implementation_base_name}.cpp ${other_sources})
  • demo/Surface_reconstruction_points_3/CMakeLists.txt

    old new  
    219219    else()
    220220      set(other_sources ${ARGN_TAIL})
    221221    endif()
    222     qt4_generate_moc( "${CMAKE_CURRENT_SOURCE_DIR}/${plugin_implementation_base_name}.cpp" ${plugin_implementation_base_name}.moc )
     222    qt4_generate_moc( "${CMAKE_CURRENT_SOURCE_DIR}/${plugin_implementation_base_name}.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/${plugin_implementation_base_name}.moc" )
    223223    add_file_dependencies( ${plugin_implementation_base_name}.moc "${CMAKE_CURRENT_SOURCE_DIR}/${plugin_implementation_base_name}.cpp" )
    224224
    225225    add_library(${plugin_name} MODULE ${option} ${plugin_implementation_base_name}.moc ${plugin_implementation_base_name}.cpp ${other_sources})
Note: See TracBrowser for help on using the repository browser.