Ver código fonte

fixed mosek build

Former-commit-id: 9dc2c2d0957c5b468ef9e760c549971299f075f7
Alec Jacobson 10 anos atrás
pai
commit
72e532fd04
1 arquivos alterados com 4 adições e 2 exclusões
  1. 4 2
      CMakeLists.txt

+ 4 - 2
CMakeLists.txt

@@ -47,9 +47,11 @@ find_package(CGAL QUIET)
 
 ## Check for mosek
 find_package(MOSEK QUIET)
-if(NOT MOSEK_FOUND)
+if(MOSEK_FOUND)
+  include_directories(${MOSEK_INCLUDE_DIR})
+else(MOSEK_FOUND)
   add_definitions(-DIGL_NO_MOSEK)
-endif(NOT MOSEK_FOUND)
+endif(MOSEK_FOUND)
 
 ## Check for CORK
 find_package(CORK QUIET)