add_executable( EMSchur3D EMSchur3D.cpp ) add_executable( EMSchur3D-vtk EMSchur3D-vtk.cpp ) target_link_libraries( EMSchur3D "lemmacore" "fdem1d" "emschur3d") target_link_libraries( EMSchur3D-vtk "lemmacore" "fdem1d" "emschur3d") # Linking #if ( LEMMA_VTK6_SUPPORT OR LEMMA_VTK7_SUPPORT ) # target_link_libraries( KernelV0 ${VTK_LIBRARIES}) # target_link_libraries( KV0-3loops ${VTK_LIBRARIES}) # target_link_libraries( Coupling ${VTK_LIBRARIES}) # target_link_libraries( Interference ${VTK_LIBRARIES}) #endif() install ( DIRECTORY mod DESTINATION ${CMAKE_INSTALL_PREFIX}/share/EMSchur3D/ ) install ( DIRECTORY grd DESTINATION ${CMAKE_INSTALL_PREFIX}/share/EMSchur3D/ ) install ( DIRECTORY src DESTINATION ${CMAKE_INSTALL_PREFIX}/share/EMSchur3D/ ) install ( FILES block.sh DESTINATION ${CMAKE_INSTALL_PREFIX}/share/EMSchur3D/ ) INSTALL_TARGETS( "/share/EMSchur3D/" EMSchur3D EMSchur3D-vtk )