CMake error in SlicerExtensionCPack.cmake while configuring extension

I am getting the error below while trying to configure the build for the SlicerIDCBrowser extension. The error seems to be unrelated to the extension. Does anyone know how to work around it?

I am using the latest, and the same, CMake 3.27.6 for both Slicer and my extension.

$ ~/cmake-3.27.6-linux-x86_64/bin/cmake -DSlicer_DIR:PATH=../Slicer-SuperBuild/Slicer-build ../SlicerIDCBrowser
[...]
-- Checking if CPACK_INSTALL_CMAKE_PROJECTS is defined
-- Checking if CPACK_INSTALL_CMAKE_PROJECTS is defined - no
CMake Error at /home/exouser/Slicer-SuperBuild/CTKAPPLAUNCHER/CMake/ctkAppLauncher.cmake:409 (file):
  file RELATIVE_PATH must be passed a full path to the file:
  ../Slicer-SuperBuild/Slicer-build
Call Stack (most recent call first):
  /home/exouser/Slicer/CMake/SlicerExtensionCPack.cmake:324 (ctkAppLauncherConfigureForExecutable)
  CMakeLists.txt:21 (include)


-- Setting 'CTEST_MODEL' variable with default value 'Experimental'
-- Setting 'SLICER_EXTENSION_

All I want to do is to confirm I can build and package the extension to make sure build/package succeeds for the next nightly.

The solution was trivial - I needed to use the absolute path instead of relative!

$ ~/cmake-3.27.6-linux-x86_64/bin/cmake \
  -DSlicer_DIR:PATH=`pwd`/../Slicer-SuperBuild/Slicer-build \
  `pwd`/../SlicerIDCBrowser