fixes for python static build
This commit is contained in:
@@ -82,7 +82,7 @@ include_directories(${LIBIGL_INCLUDE_DIRS})
|
||||
add_definitions(${LIBIGL_DEFINITIONS})
|
||||
|
||||
## Optional modules
|
||||
if (LIBIGL_WITH_OPENGL)
|
||||
if (LIBIGL_WITH_VIEWER)
|
||||
add_definitions(-DPY_VIEWER)
|
||||
list(APPEND SHARED_SOURCES "py_igl_viewer.cpp")
|
||||
endif ()
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <igl/viewer/Viewer.h>
|
||||
#include <igl/viewer/ViewerCore.h>
|
||||
#include <igl/viewer/ViewerData.h>
|
||||
#include <igl/serialize.h>
|
||||
|
||||
void python_export_igl_viewer(py::module &m)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user