From: Leonardo Florez Valencia Date: Wed, 5 Oct 2016 04:49:34 +0000 (-0500) Subject: Windows compilation (1/2) X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=3f4722ccf68d830e26dac9b945925efa68e39e4c;p=FrontAlgorithms.git Windows compilation (1/2) --- diff --git a/lib/Instances/CMakeLists.txt b/lib/Instances/CMakeLists.txt index be886cb..31eb1f1 100644 --- a/lib/Instances/CMakeLists.txt +++ b/lib/Instances/CMakeLists.txt @@ -21,7 +21,7 @@ SET( ## == Links == ## =========== -TARGET_LINK_LIBRARIES(fpa_DataObjects ${cpPlugins_Images_LIB}) +TARGET_LINK_LIBRARIES(fpa_DataObjects ${ITK_LIBRARIES} ${cpPlugins_BaseObjects_LIB} ${cpPlugins_Images_LIB}) TARGET_LINK_LIBRARIES(fpa_Filters fpa_DataObjects ${cpPlugins_ImageFilters_LIB}) ## =================================== diff --git a/lib/fpa/Image/EndPointsFilter.hxx b/lib/fpa/Image/EndPointsFilter.hxx index c3cb406..fe85b5a 100644 --- a/lib/fpa/Image/EndPointsFilter.hxx +++ b/lib/fpa/Image/EndPointsFilter.hxx @@ -1,6 +1,7 @@ #ifndef __fpa__Image__EndPointsFilter__hxx__ #define __fpa__Image__EndPointsFilter__hxx__ +#include #include #include #include diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 09f152b..d771579 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -9,7 +9,7 @@ IF(USE_cpPlugins) ${prj_VERSION} ${prj_SHORT_VERSION} fpa ) - TARGET_LINK_LIBRARIES(${_plugin} ${cpPlugins_LIB} ${fpa_Instances}) + TARGET_LINK_LIBRARIES(${_plugin} ${VTK_LIBRARIES} ${cpPlugins_LIB} ${cpPlugins_ImageIterators_LIB} ${fpa_Instances} ) ENDIF(USE_cpPlugins) ## eof - $RCSfile$ \ No newline at end of file