17 lines
845 B
Diff
17 lines
845 B
Diff
|
diff -urp mathgl-2.3.5.1/lang/CMakeLists.txt mathgl-2.3.5.1-nooctaveinstall/lang/CMakeLists.txt
|
||
|
--- mathgl-2.3.5.1/lang/CMakeLists.txt 2016-06-19 23:01:08.000000000 +0600
|
||
|
+++ mathgl-2.3.5.1-nooctaveinstall/lang/CMakeLists.txt 2016-12-27 10:04:11.786000696 +0700
|
||
|
@@ -125,12 +125,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)
|
||
|
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${mgl_clean_files}")
|