From 3f4722ccf68d830e26dac9b945925efa68e39e4c Mon Sep 17 00:00:00 2001 From: Leonardo Florez Valencia Date: Tue, 4 Oct 2016 23:49:34 -0500 Subject: [PATCH] Windows compilation (1/2) --- lib/Instances/CMakeLists.txt | 2 +- lib/fpa/Image/EndPointsFilter.hxx | 1 + plugins/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.47.1