fcdce7f0d43085d3033b48b7a262948d3223806c
[Merlin.git] / examples / CMakeLists.txt
1 add_executable( KernelV0 KernelV0.cpp  )
2 target_link_libraries(  KernelV0  "lemmacore" "fdem1d" "merlin")
3
4 add_executable( Coupling Coupling.cpp  )
5 target_link_libraries(  Coupling  "lemmacore" "fdem1d" "merlin")
6
7 add_executable( Interference Interference.cpp  )
8 target_link_libraries(  Interference  "lemmacore" "fdem1d" "merlin")
9
10 # Linking
11 if ( LEMMA_VTK6_SUPPORT OR LEMMA_VTK7_SUPPORT ) 
12         target_link_libraries( KernelV0 ${VTK_LIBRARIES})
13         target_link_libraries( Coupling ${VTK_LIBRARIES})
14         target_link_libraries( Interference ${VTK_LIBRARIES})
15 endif()
16
17 INSTALL_TARGETS( "/share/Merlin/"
18         KernelV0
19         Coupling
20         Interference
21 )