X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=d1ed48acf920919462f47ef3eb936f4dfab48f51;hb=94a44f4cdf4747eccc933df0a9c75ec86e825d2e;hp=83c4b843c7568a621d7a3c7fb8228d59d2cd736c;hpb=8919b8f97d766e10514bdd765d597e08693cc7a2;p=cpPlugins.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 83c4b84..d1ed48a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,6 +50,12 @@ ENDIF(BUILD_SHARED_LIBRARIES) # Prepare header to build shared libs (windows) INCLUDE(GenerateExportHeader) +# Find boost +FIND_PACKAGE(Boost 1.30 COMPONENTS filesystem system REQUIRED) +IF(Boost_FOUND) + INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS}) +ENDIF(Boost_FOUND) + # Find ITK and VTK FIND_PACKAGE(ITK REQUIRED) FIND_PACKAGE(VTK REQUIRED)