nihui / realsr-ncnn-vulkan

RealSR super resolution implemented with ncnn library
MIT License
1.1k stars 112 forks source link

CMake build with USE_STATIC_MOLTENVK=ON is still linking the vulkan loader library on MacOS #35

Open Keyang opened 2 years ago

Keyang commented 2 years ago

Hi, Just followed the document and passed USE_STATIC_MOLTENVK=ON to cmake on MacOS, the generated binary still links to the libvulkan.dylib file. Please help.

Thanks.

$ otool -l ./realsr-ncnn-vulkan
Load command 13
          cmd LC_LOAD_DYLIB
      cmdsize 56
         name @rpath/libvulkan.1.dylib (offset 24)
   time stamp 2 Thu Jan  1 01:00:02 1970
      current version 1.2.198
compatibility version 1.0.0