<div dir="ltr">Hello,<div><br></div><div>I have this error with SDL_Sound building with CMake:</div><div><br></div><div>CMake Error at cmake-build-debug/_deps/sdlsound_content-src/CMakeLists.txt:207 (add_custom_target):<br>  add_custom_target cannot create target "uninstall" because another target<br>  with the same name already exists. </div><div><br></div><div>I am building a cross-platform project that uses SDL_Sound, and we previously had SDL_Sound sources copied in the project, but now we want to fetch it and build it directly. Sources are added using CMAKE add_subdirectory.</div><div><br></div><div>SDL2 has the uninstall target prefixed with the following:</div><div><br></div><div>if(NOT TARGET uninstall)<br></div><div><br></div><div>Maybe a similar approach or adding a prefix so it reads like "sdlsound_uninstall" would help.</div><div><br></div><div>Any ideas on how to fix this?</div><div><br></div><div>Regards,</div><div><br></div><div>Erico</div><div><br></div></div>