From: Leonardo Florez-Valencia Date: Fri, 11 Sep 2015 13:32:48 +0000 (+0200) Subject: ... X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4edbe94aed9bb7be7d1a3485ee5ba3400368bb42;p=FrontAlgorithms.git ... --- 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( ) { }