瀏覽代碼

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)