Tom94 / tev

High dynamic range (HDR) image viewer for graphics people
BSD 3-Clause "New" or "Revised" License
1.02k stars 86 forks source link

Added link flag for Clang libc++ #137

Closed mcrescas closed 2 years ago

mcrescas commented 2 years ago

Hi :wave: ,

While compiling using Clang it is needed to link to libc++ (the same happens with the nanogui dependency). The following small addition just check if is the case and set the flags accordingly (code is from @wjakob).

I would like to take this opportunity to thank you for this very useful piece of software!

Tom94 commented 2 years ago

Hi there; thanks for the PR and the kind words! :)

Apologies for getting back to you so late. The reason is that I want to take a little time to fool around with Clang/Linux myself before merging -- just to make sure this doesn't break some user's use case (unlikely, but worth making sure).

Tom94 commented 2 years ago

Looks good; thanks again. :)