Permalink
Browse files

CMake: Add Protobuf as a dependency

Cartography added protobuf as a dependency. Darn kids.
  • Loading branch information...
1 parent e37e031 commit 7ef9cc377040110de5cba16bad08f4f38d0cc304 Zack Moratto committed Sep 6, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −2 CMakeLists.txt
  2. +1 −0 src/photk/CMakeLists.txt
  3. +1 −0 src/tools/CMakeLists.txt
View
@@ -62,6 +62,7 @@ find_package(VisionWorkbench REQUIRED
cartography
)
find_package(GooglePerfTools)
+find_package(Protobuf)
photk_enable_testing()
if (ENABLE_PROFILING AND GOOGLE_PERFTOOLS_FOUND)
@@ -76,8 +77,6 @@ else()
set(PHOTK_ENABLE_TCMALLOC OFF)
endif()
-message("PHOTK IS " ${PHOTK_ENABLE_PROFILING})
-
# Produce photk/config.h
configure_file(
${PHOTK_SOURCE_DIR}/src/photk/config.h.in
@@ -1,5 +1,6 @@
include_directories(${VISIONWORKBENCH_INCLUDE_DIRS})
include_directories(${Boost_INCLUDE_DIRS})
+include_directories(${PROTOBUF_INCLUDE_DIRS})
include_directories(${CMAKE_CURRENT_BINARY_DIR}/..)
@@ -1,5 +1,6 @@
include_directories(${VISIONWORKBENCH_INCLUDE_DIRS})
include_directories(${Boost_INCLUDE_DIRS})
+include_directories(${PROTOBUF_INCLUDE_DIRS})
# Reusable Vision Workbench Patterns
set(VISIONWORKBENCH_BASE_LIBRARIES

0 comments on commit 7ef9cc3

Please sign in to comment.