فهرست منبع

minor fix

Former-commit-id: f1818d962afa46b5880976ce1d1906dd479e1f65
Daniele Panozzo 9 سال پیش
والد
کامیت
0fd9f19d5d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      python/CMakeLists.txt

+ 1 - 1
python/CMakeLists.txt

@@ -195,7 +195,7 @@ elseif (UNIX)
   endif()
 endif()
 
-if (LIBIGL_WITH_PYTHON)
+if (LIBIGL_WITH_PYTHON AND LIBIGL_WITH_NANOGUI)
   # Copy the nanogui python lib after compilation
   get_target_property(NANOGUI_LIB nanogui_python LOCATION)
   add_custom_target(copy ALL)