Skip to content

Commit

Permalink
Add switch for compile with and without PCL
Browse files Browse the repository at this point in the history
  • Loading branch information
jriegel committed Aug 25, 2014
1 parent 492a39c commit e16f8a5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Mod/Points/App/CMakeLists.txt
Expand Up @@ -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}
Expand Down
5 changes: 5 additions & 0 deletions 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}
Expand Down

0 comments on commit e16f8a5

Please sign in to comment.