Skip to content

Commit

Permalink
fix: cmake now skips cpp example according to the BUILD_EXAMPLE option
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Ritterbusch <kai.ritterbusch@gmx.de>
  • Loading branch information
kairibu authored and qdot committed Feb 15, 2011
1 parent e32f598 commit 3b0f416
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wrappers/cpp/CMakeLists.txt
@@ -1,6 +1,8 @@
INSTALL(FILES libfreenect.hpp
DESTINATION include)

IF(BUILD_EXAMPLES)

set(CMAKE_C_FLAGS "-Wall")

if (WIN32)
Expand Down Expand Up @@ -36,3 +38,5 @@ endif()

install (TARGETS cppview
DESTINATION bin)

ENDIF()

0 comments on commit 3b0f416

Please sign in to comment.