16 lines
746 B
Diff
16 lines
746 B
Diff
diff -urp mathgl-2.4.1/lang/CMakeLists.txt mathgl-2.4.1-nooctaveinstall/lang/CMakeLists.txt
|
|
--- mathgl-2.4.1/lang/CMakeLists.txt 2017-12-05 11:57:45.607214992 +0700
|
|
+++ mathgl-2.4.1-nooctaveinstall/lang/CMakeLists.txt 2017-12-05 11:59:48.869607674 +0700
|
|
@@ -84,11 +84,6 @@ message(STATUS "${oct_prog} ${oct_host}
|
|
add_custom_target(mgl_octave_module ALL DEPENDS mathgl.tar.gz)
|
|
|
|
install(FILES ${CMAKE_BINARY_DIR}/lang/mathgl.tar.gz DESTINATION ${MGL_DATA_PATH})
|
|
- if(enable-octave-install)
|
|
- install(CODE "execute_process(
|
|
- COMMAND ${oct_exec} -q --eval \"pkg install mathgl.tar.gz\"
|
|
- WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/lang )")
|
|
- endif(enable-octave-install)
|
|
set(mgl_clean_files ${mgl_clean_files} mathgl)
|
|
endif(enable-octave)
|
|
|