Skip to content

COMP: Fail early building script with PythonQt disabled

phcerdan requested to merge github/fork/phcerdan/fix_cmake_PythonQt into master
CMake Error at Software/Slicer/SlicerCustomAppTemplate/build-SlicerSALT/slicersources-src/CMake/SlicerMacroBuildScriptedModule.cmake:94 (ctkMacroCompilePythonScript):
  Unknown CMake command "ctkMacroCompilePythonScript".
Call Stack (most recent call first):
  Software/Slicer/SlicerCustomAppTemplate/build-SlicerSALT/Sequences/SequenceSampleData/CMakeLists.txt:17 (slicerMacroBuildScriptedModule)

This is caused because the cmake macro ctkMacroCompilePythonScript is only included when PythonQt is on.

Merge request reports

Loading