diff --git a/Sound/XRSound/XRSound/src/XRSoundDLL/CMakeLists.txt b/Sound/XRSound/XRSound/src/XRSoundDLL/CMakeLists.txt index 44a484ec5..c559639ef 100644 --- a/Sound/XRSound/XRSound/src/XRSoundDLL/CMakeLists.txt +++ b/Sound/XRSound/XRSound/src/XRSoundDLL/CMakeLists.txt @@ -31,6 +31,11 @@ target_link_libraries(XRSound_dll ${IRRKLANG_LIB} ) +add_dependencies(XRSound_dll + ${OrbiterTgt} + Orbitersdk +) + install(TARGETS XRSound_dll RUNTIME DESTINATION ${ORBITER_INSTALL_PLUGIN_DIR}