From 1f4d361a22968f2a86f534c1f50d004b45bfc231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ad=C3=A8le=20Harrissart?= Date: Tue, 17 Jun 2014 11:45:44 +0200 Subject: [PATCH] Add EOSERIAL component into cmake/module/FindParadiseo.cmake --- cmake/module/FindParadiseo.cmake | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmake/module/FindParadiseo.cmake b/cmake/module/FindParadiseo.cmake index 59b85a864..7737a89b3 100644 --- a/cmake/module/FindParadiseo.cmake +++ b/cmake/module/FindParadiseo.cmake @@ -21,6 +21,7 @@ # - moeo # - smp # - peo +# - eoserial # You can use find_package(Paradiseo COMPONENTS ... ) to enable one or several components. If you not specifie component, all components will be load except SMP for compatibility reasons. # # Output @@ -72,6 +73,10 @@ find_path(MOEO_INCLUDE_DIR moeo PATH_SUFFIXES include${INSTALL_SUB_DIR}/moeo moeo/src PATHS ${PARADISEO_SRC_PATHS}) +find_path(EOSERIAL_INCLUDE_DIR eoserial + PATH_SUFFIXES include${INSTALL_SUB_DIR}/eoserial eoserial/src + PATHS ${PARADISEO_SRC_PATHS}) + # Specific for SMP and PEO foreach(COMP ${PARADISEO_LIBRARIES_TO_FIND}) if(${COMP} STREQUAL "smp") @@ -127,6 +132,7 @@ set(PARADISEO_LIB_PATHS_SUFFIXES moeo/tutorial/examples/flowshop/lib #For flowshop library smp/lib peo/lib + eoserial/lib lib lib32 lib64 @@ -158,6 +164,7 @@ if(PARADISEO_FOUND) message(${EDO_INCLUDE_DIR}) message(${MO_INCLUDE_DIR}) message(${MOEO_INCLUDE_DIR}) + message(${EOSERIAL_INCLUDE_DIR}) if(SMP_FOUND) message(${SMP_INCLUDE_DIR}) endif()