We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a4d861 commit 10ff590Copy full SHA for 10ff590
CMakeLists.txt
@@ -451,13 +451,13 @@ target_compile_definitions(nanogui
451
-DNANOGUI_BUILD
452
)
453
454
-if (NOT NANOGUI_SKIP_STB_IMAGE_IMPLEMENTATION)
+if (NANOGUI_SKIP_STB_IMAGE_IMPLEMENTATION)
455
# Frameworks that statically link to nanobind and which already include the
456
# stb_image implementation bits can set this flag to avoid duplicate symbol
457
# errors.
458
459
target_compile_definitions(nanogui
460
- PRIVATE -DNVG_STB_IMAGE_IMPLEMENTATION)
+ PRIVATE -DNVG_NO_STB_IMPLEMENTATION)
461
endif()
462
463
if (NANOGUI_SKIP_METAL_SHADER_PRECOMPILATION)
0 commit comments