From 4edbe94aed9bb7be7d1a3485ee5ba3400368bb42 Mon Sep 17 00:00:00 2001 From: Leonardo Florez-Valencia Date: Fri, 11 Sep 2015 15:32:48 +0200 Subject: [PATCH] ... --- cmake/FrontAlgorithmsConfig.cmake.in | 4 ++-- lib/fpa/Image/Functors/RegionGrowThresholdFunction.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmake/FrontAlgorithmsConfig.cmake.in b/cmake/FrontAlgorithmsConfig.cmake.in index 80869c4..9b6f14b 100644 --- a/cmake/FrontAlgorithmsConfig.cmake.in +++ b/cmake/FrontAlgorithmsConfig.cmake.in @@ -13,8 +13,8 @@ INCLUDE_DIRECTORIES( # ========================= LINK_DIRECTORIES( - @PROJECT_SOURCE_DIR@/lib - @PROJECT_BINARY_DIR@/lib + @PROJECT_BINARY_DIR@ + @CMAKE_INSTALL_PREFIX@/bin @CMAKE_INSTALL_PREFIX@/lib ) diff --git a/lib/fpa/Image/Functors/RegionGrowThresholdFunction.h b/lib/fpa/Image/Functors/RegionGrowThresholdFunction.h index 3d7d5ac..1ac7c8f 100644 --- a/lib/fpa/Image/Functors/RegionGrowThresholdFunction.h +++ b/lib/fpa/Image/Functors/RegionGrowThresholdFunction.h @@ -1,7 +1,7 @@ #ifndef __FPA__IMAGE__FUNCTORS__REGIONGROWTHRESHOLDFUNCTION__H__ #define __FPA__IMAGE__FUNCTORS__REGIONGROWTHRESHOLDFUNCTION__H__ -#include +#include #include namespace fpa @@ -59,8 +59,8 @@ namespace fpa protected: RegionGrowThresholdFunction( ) : Superclass( ), - m_LowerThreshold( std::numeric_limits< TPixel >::min( ) ), - m_UpperThreshold( std::numeric_limits< TPixel >::max( ) ) + m_LowerThreshold( itk::NumericTraits< TPixel >::min( ) ), + m_UpperThreshold( itk::NumericTraits< TPixel >::max( ) ) { } virtual ~RegionGrowThresholdFunction( ) { } -- 2.47.1