szellmann / visionaray

A C++-based, cross platform ray tracing library
https://vis.uni-koeln.de/visionaray.html
MIT License
432 stars 37 forks source link

fix build with VSNRAY_ENABLE_COCOA=ON #45

Closed aumuell closed 3 months ago

aumuell commented 3 months ago

otherwise, cmake errors out with: CMake Error in src/common/CMakeLists.txt: Target "visionaray_common" INTERFACE_SOURCES property contains path:

"[...]/visionaray/src/common/viewer_cocoa.mm"

which is prefixed in the source directory.

szellmann commented 3 months ago

The cocoa viewer is rather stale at this point, actually. Probably going to ax it sooner or later.. thx for the fix anyway!