Oh... Weird. Could you try without the space after -D? Thanks!
On Thu, Oct 23, 2014 at 12:05 PM, Michael Hanke <[email protected]> wrote: > Hi, > > On Thu, Oct 23, 2014 at 11:57:19AM -0400, Paul Yushkevich wrote: > > Hi Michael, > > > > I am confused :) > > > > You previously mentioned that the file > > /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake > > exists on the system > > > > I was suggesting to set the prefix path to > /usr/lib/x86_64-linux-gnu/cmake > > - so that directory should exist > > Sorry, I was sloppy. The directory exists, but it doesn't have cmake > files: > > % cmake .. -D CMAKE_PREFIX_PATH:STRING=/usr/lib/x86_64-linux-gnu/cmake > CMake Error: The source directory "/usr/lib/x86_64-linux-gnu/cmake" does > not appear to contain CMakeLists.txt. > Specify --help for usage, or press the help button on the CMake GUI. > > % ll /usr/lib/x86_64-linux-gnu/cmake > total 72K > drwxr-xr-x 2 root root 4,0K Okt 12 10:06 PulseAudio/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:30 Qt5/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:30 Qt5Concurrent/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:30 Qt5Core/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:30 Qt5DBus/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:30 Qt5Gui/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:30 Qt5Network/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:30 Qt5OpenGL/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:30 Qt5OpenGLExtensions/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:30 Qt5PrintSupport/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:33 Qt5Qml/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:33 Qt5Quick/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:33 Qt5QuickTest/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:33 Qt5QuickWidgets/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:30 Qt5Sql/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:30 Qt5Test/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:30 Qt5Widgets/ > drwxr-xr-x 2 root root 4,0K Okt 15 14:30 Qt5Xml/ > > > I am happy to add a CMake flag that will disable the search for the > > plugins. We need the plugins when packaging ITK-SNAP binaries using make > > package. Otherwise if a system does not already have Qt installed, the > user > > is hosed. > > That would be good. For the Debian package we can specify any runtime > dependencies in the binary package (if they aren't already explicit from > the linker output). It sounds like that would fulfil all requirements of > itksnap. > > > Michael > > -- Paul A. Yushkevich, Ph.D. Associate Professor Penn Image Computing and Science Laboratory Department of Radiology University of Pennsylvania

