mathgl/mathgl-2.2-no_octave.patch

12 lines
752 B
Diff
Raw Normal View History

2014-01-17 03:04:53 +00:00
--- CMakeLists.txt 2014-01-17 10:01:10.480156120 +0700
+++ CMakeLists.txt-no_octave 2014-01-17 10:01:55.460539280 +0700
@@ -97,6 +97,8 @@ MGL_DEPENDENT_OPTION(enable-python "Enab
MGL_DEPENDENT_OPTION(enable-lua "Enable Lua (v.5.1) interface" OFF "NOT enable-lgpl" ON "NOT enable-all-swig" ON)
MGL_DEPENDENT_OPTION(enable-octave "Enable octave interface" OFF "NOT enable-lgpl" ON "NOT enable-all-swig" ON)
MGL_DEPENDENT_OPTION(enable-octave-install "Octave interface will install for all users" ON "NOT enable-lgpl" ON "NOT enable-all-swig" ON)
+SET( enable-octave OFF )
+SET( enable-octave-install OFF )
include_directories( ${MathGL_SOURCE_DIR}/include ${MathGL_BINARY_DIR}/include)
set(MGL_INCLUDE_PATH "${CMAKE_INSTALL_PREFIX}/include/mgl2")