From 82ef1f08a953fa19e307b0efec73caedb3b960c5 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 15 Feb 2016 21:59:27 +0100 Subject: [PATCH] cmake: kill dead code --- tools/cmake/Distrib.cmake | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tools/cmake/Distrib.cmake b/tools/cmake/Distrib.cmake index 865cc32233..5e4d31dcd4 100644 --- a/tools/cmake/Distrib.cmake +++ b/tools/cmake/Distrib.cmake @@ -81,23 +81,6 @@ foreach(file ${examples_to_install}) DESTINATION $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/doc/simgrid/examples/${location}) endforeach(file ${examples_to_install}) -# bindings cruft - -if(HAVE_LUA) - file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/lib/lua/5.1") - add_custom_target(simgrid_lua ALL - DEPENDS simgrid - ${CMAKE_BINARY_DIR}/lib/lua/5.1/simgrid.${LIB_EXE} - ) - add_custom_command( - OUTPUT ${CMAKE_BINARY_DIR}/lib/lua/5.1/simgrid.${LIB_EXE} - COMMAND ${CMAKE_COMMAND} -E create_symlink ../../libsimgrid.${LIB_EXE} ${CMAKE_BINARY_DIR}/lib/lua/5.1/simgrid.${LIB_EXE} - ) - install(FILES ${CMAKE_BINARY_DIR}/lib/lua/5.1/simgrid.${LIB_EXE} - DESTINATION $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/lua/5.1 - ) -endif() - ########################################### ### Fill in the "make uninstall" target ### ########################################### -- 2.20.1