Skip to content
Permalink
Browse files

Use mapscript_files for install command

  • Loading branch information...
geographika committed Oct 5, 2018
1 parent 10d9d25 commit 33138ca89c1838a35308d7d0c1ea76b5e20afa86
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapscript/ruby/CMakeLists.txt
@@ -23,4 +23,4 @@ endif(APPLE)

set(mapscript_files $<TARGET_FILE:${SWIG_MODULE_rubymapscript_REAL_NAME}> $<TARGET_FILE_DIR:${SWIG_MODULE_rubymapscript_REAL_NAME}>)
execute_process(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts RbConfig::CONFIG['sitearchdir']" OUTPUT_VARIABLE RUBY_SITEARCHDIR OUTPUT_STRIP_TRAILING_WHITESPACE)
install(FILES ${LOC_MAPSCRIPT_LIB} DESTINATION ${RUBY_SITEARCHDIR})
install(FILES ${mapscript_files} DESTINATION ${RUBY_SITEARCHDIR})

0 comments on commit 33138ca

Please sign in to comment.
You can’t perform that action at this time.