Selaa lähdekoodia

wrong option in the cmake file

Former-commit-id: 63bfc2d248574ab50014e818321e03ec7e437c92
Daniele Panozzo 9 vuotta sitten
vanhempi
commit
cc7db43154
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      shared/cmake/CMakeLists.txt

+ 1 - 1
shared/cmake/CMakeLists.txt

@@ -340,7 +340,7 @@ endif()
 
 ### Compile the png parts ###
 if(LIBIGL_WITH_PNG)
-  if(LIBIGL_WITH_VIEWER)
+  if(LIBIGL_WITH_NANOGUI)
     set(STBI_LOAD OFF CACHE BOOL " " FORCE)
   endif()
   set(STB_IMAGE_DIR "${LIBIGL_EXTERNAL}/stb_image")