1 From c215d5ecd985b57700e817920d0e99112b4a571b Mon Sep 17 00:00:00 2001
2 From: Samuel Martin <s.martin49@gmail.com>
3 Date: Sun, 25 Jan 2015 13:35:24 +0100
4 Subject: [PATCH] cmake: do not check for g++ when FTDIPP is disabled
6 Signed-off-by: Samuel Martin <s.martin49@gmail.com>
8 CMakeLists.txt | 6 ++++--
9 ftdipp/CMakeLists.txt | 1 +
10 2 files changed, 5 insertions(+), 2 deletions(-)
12 diff --git a/CMakeLists.txt b/CMakeLists.txt
13 index 0ba0b08..e880211 100644
23 @@ -145,7 +145,9 @@ else(DOCUMENTATION AND DOXYGEN_FOUND)
24 endif(DOCUMENTATION AND DOXYGEN_FOUND)
27 -add_subdirectory(ftdipp)
29 + add_subdirectory(ftdipp)
31 add_subdirectory(python)
32 add_subdirectory(ftdi_eeprom)
33 add_subdirectory(examples)
34 diff --git a/ftdipp/CMakeLists.txt b/ftdipp/CMakeLists.txt
35 index 27e7884..2d080f4 100644
36 --- a/ftdipp/CMakeLists.txt
37 +++ b/ftdipp/CMakeLists.txt
40 +project(libftdipp1 C CXX)
41 set(FTDI_BUILD_CPP False PARENT_SCOPE)
43 option ( FTDIPP "Build C++ binding library libftdi1++" ON )