A couple of changes to the cmake build system.
[dolphin.git] / Source / Plugins / Plugin_DSP_HLE / CMakeLists.txt
blobd8cda08dbf79e10d9256e6b5b828c4679dba2e2a
1 set(SRCS
2         Src/DSPHandler.cpp
3         Src/MailHandler.cpp
4         Src/HLEMixer.cpp
5         Src/main.cpp
6         Src/Config.cpp
7         Src/UCodes/UCode_AX.cpp
8         Src/UCodes/UCode_AXWii.cpp
9         Src/UCodes/UCode_CARD.cpp
10         Src/UCodes/UCode_InitAudioSystem.cpp
11         Src/UCodes/UCode_ROM.cpp
12         Src/UCodes/UCodes.cpp
13         Src/UCodes/UCode_GBA.cpp
14         Src/UCodes/UCode_Zelda.cpp
15         Src/UCodes/UCode_Zelda_ADPCM.cpp
16         Src/UCodes/UCode_Zelda_Voice.cpp
17         Src/UCodes/UCode_Zelda_Synth.cpp)
19 if(wxWidgets_FOUND)
20         set(SRCS ${SRCS} Src/ConfigDlg.cpp)
21 endif(wxWidgets_FOUND)
23 add_library(Plugin_DSP_HLE SHARED ${SRCS})
24 target_link_libraries(Plugin_DSP_HLE common audiocommon)
25 install(TARGETS Plugin_DSP_HLE
26                 LIBRARY DESTINATION ${DESTDIR}${plugindir}
27                 RUNTIME DESTINATION ${DESTDIR}${plugindir})