if ("${CMAKE_INSTALL_CONFIG_NAME}" STREQUAL "Release" OR "${CMAKE_INSTALL_CONFIG_NAME}" STREQUAL "")
set(RR_BUILD_CONFIG_DIR "out")
elseif ("${CMAKE_INSTALL_CONFIG_NAME}" STREQUAL "RelWithDebInfo")
set(RR_BUILD_CONFIG_DIR "out_reldebug")
elseif ("${CMAKE_INSTALL_CONFIG_NAME}" STREQUAL "Debug")
set(RR_BUILD_CONFIG_DIR "out_debug")
else()
set(RR_BUILD_CONFIG_DIR "out")
endif()
message(STATUS "Running pip install in @CMAKE_BINARY_DIR@/${RR_BUILD_CONFIG_DIR}/Python3")
execute_process(COMMAND @PYTHON3_EXECUTABLE@ -m pip install . --root=/ --prefix=$ENV{DESTDIR}@CMAKE_INSTALL_PREFIX@ @SETUPTOOLS_ARG_EXTRA@
@INSTALL_PYTHON3_PIP_EXTRA_ARGS@
WORKING_DIRECTORY @CMAKE_BINARY_DIR@/${RR_BUILD_CONFIG_DIR}/Python3 RESULT_VARIABLE ret)
if(ret AND NOT ret EQUAL 0)
message(FATAL_ERROR "Python pip install failed")
endif()
