Google’s John Mueller recently confirmed on Twitter that links coming from adult websites are not automatically viewed as spam. Assuming those links are natural links, and do not violate Google’s link guidelines, there is nothing wrong with them.
@Marie_Haynes Adult sites aren't automatically spam, and links from them not automatically unnatural / problematic.
— John Mueller (@JohnMu) August 5, 2016