File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -518,30 +518,6 @@ if(INSTALL_PYTHON_DEPENDENCIES)
518518 endif ()
519519endif ()
520520
521-
522-
523- # Configure the setup script
524- # Pass PYTHON_SCRIPTS_INSTALL_SUBDIR to the template if scripts are being installed.
525- # The @ONLY flag means only variables like @VAR@ or ${VAR} are replaced.
526- # If setup.sh.in uses shell variables like $VAR or ${VAR}, they will be preserved.
527- if (INSTALL_PYTHON_SCRIPTS)
528- set (CONFIGURE_SETUP_SH_DEFINES "-DPYTHON_SCRIPTS_INSTALL_SUBDIR=\\ " python_scripts\\"")
529- # The above define isn't used by configure_file directly with @ONLY unless setup.sh.in uses #cmakedefine
530- # Instead, we ensure PYTHON_SCRIPTS_INSTALL_SUBDIR is a normal CMake variable available during configure_file.
531- # It's already set if INSTALL_PYTHON_SCRIPTS is true.
532- endif()
533-
534- configure_file(
535- " ${SETUP_SH_TEMPLATE} " # Input: cmake/templates/setup.sh.in
536- " ${SETUP_SH_OUTPUT} " # Output: ${CMAKE_BINARY_DIR} /setup.sh
537- @ONLY # Replace @CMAKE_INSTALL_PREFIX@, @PYTHON_SCRIPTS_INSTALL_SUBDIR@, etc.
538- )
539-
540- # Install the configured setup.sh script to the installation's bin directory
541- install(PROGRAMS " ${SETUP_SH_OUTPUT} " DESTINATION " ${MIDAS_INSTALL_BINDIR} ")
542-
543- message(STATUS " Configured top-level setup.sh, will be installed to ${MIDAS_INSTALL_BINDIR} ")
544-
545521# --- Summary Message ---
546522message (STATUS "" )
547523message (STATUS "MIDAS Project Configuration Summary" )
You can’t perform that action at this time.
0 commit comments