## =========================================================================
-## @author Leonardo Florez Valencia
-## @email florez-l@javeriana.edu.co
+## @author Leonardo Florez Valencia (florez-l@javeriana.edu.co)
## =========================================================================
-set(_pfx test_fpa_Image_RandomWalker_)
+set(_pfx example_fpa_Image_RandomWalker_)
set(
- _tests
+ _examples
Gaussian
- Original
- CompareRandomWalkers
)
+if(Eigen3_FOUND)
+ set(
+ _examples
+ ${_examples}
+ Original
+ CompareRandomWalkers
+ )
+endif(Eigen3_FOUND)
include_directories(${PROJECT_SOURCE_DIR}/lib ${PROJECT_BINARY_DIR}/lib)
-foreach(_t ${_tests})
+foreach(_t ${_examples})
add_executable(${_pfx}${_t} ${_t}.cxx)
target_link_libraries(${_pfx}${_t} fpa)
endforeach(_t)