install *.el files irrespective of byte compilation option

This commit is contained in:
tejaswidp 2018-03-30 17:43:21 +05:30
parent 6d206e023c
commit b12547a152

View file

@ -15,6 +15,8 @@ endforeach()
set(all_scel_sources ${scel_sources} sclang-vars.el)
install (FILES ${scel_sources} ${CMAKE_CURRENT_BINARY_DIR}/sclang-vars.el
DESTINATION share/emacs/site-lisp/SuperCollider)
if (SC_EL_BYTECOMPILE)
find_program(EMACS_EXECUTABLE emacs)
if(NOT EMACS_EXECUTABLE)
@ -37,7 +39,4 @@ if (SC_EL_BYTECOMPILE)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${el}c
DESTINATION share/emacs/site-lisp/SuperCollider)
endforeach()
else()
install (FILES ${scel_sources} ${CMAKE_CURRENT_BINARY_DIR}/sclang-vars.el
DESTINATION share/emacs/site-lisp/SuperCollider)
endif()