diff --git a/src/Mod/Points/App/CMakeLists.txt b/src/Mod/Points/App/CMakeLists.txt index e894afe9e..db5c836eb 100644 --- a/src/Mod/Points/App/CMakeLists.txt +++ b/src/Mod/Points/App/CMakeLists.txt @@ -2,6 +2,10 @@ if(WIN32) add_definitions(-DFCAppPoints) endif(WIN32) +if(PCL_FOUND) + add_definitions(-DHAVE_PCL) +endif(PCL_FOUND) + include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} diff --git a/src/Mod/Points/Gui/CMakeLists.txt b/src/Mod/Points/Gui/CMakeLists.txt index e3e61c935..7622bcab6 100644 --- a/src/Mod/Points/Gui/CMakeLists.txt +++ b/src/Mod/Points/Gui/CMakeLists.txt @@ -1,3 +1,8 @@ + +if(PCL_FOUND) + add_definitions(-DHAVE_PCL) +endif(PCL_FOUND) + include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${Boost_INCLUDE_DIRS}