Package: cmtk
Version: 2.2.2-2
Severity: normal

cmtk fails to build with cmake 2.8.10
that version puts some files into <objdir>/<cmake-version> instead of
only <objdir>

it also searches for pkg-config which is not in the build-depends and
lzma which it does not find even though its in the build depends, I did
not check if that has any effect

patch for cmake .10:
--- CMakeLists.txt.orig 2013-01-04 22:20:54.460110812 +0000
+++ CMakeLists.txt      2013-01-04 22:19:09.636111659 +0000
@@ -51,7 +51,7 @@
 #-----------------------------------------------------------------------------
 # Test for some required system information.
 INCLUDE (${CMAKE_ROOT}/Modules/CMakeDetermineSystem.cmake)
-INCLUDE (${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeSystem.cmake)
+INCLUDE
(${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${CMAKE_VERSION}/CMakeSystem.cmake)
 INCLUDE (${CMAKE_ROOT}/Modules/CMakeBackwardCompatibilityC.cmake)
 INCLUDE (${CMAKE_ROOT}/Modules/CMakeBackwardCompatibilityCXX.cmake)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to