Re: [PATCH 1/1] cmake: do not check for g++ when FTDIPP is disabled

2020-01-20 Thread Thomas Jarosch
Hi Fabrice, You wrote on Thu, Jan 16, 2020 at 11:46:24PM +0100: > > Without the patch compilation is fine, tried -DFTIPP=ON and -DFTDIPP=OFF. > > > > Any idea how to proceed here? > I found the issue, it is due to EXAMPLES that also require C++. > As a result, the project statement must be moved

Re: [PATCH 1/1] cmake: do not check for g++ when FTDIPP is disabled

2020-01-16 Thread Fabrice Fontaine
Hello Thomas, Le mer. 15 janv. 2020 à 20:40, Thomas Jarosch a écrit : > > Hi Fabrice, > > You wrote on Wed, Oct 02, 2019 at 05:28:33PM +0200: > > diff --git a/CMakeLists.txt b/CMakeLists.txt > > index 71857d0..1e26ed4 100644 > > --- a/CMakeLists.txt > > +++ b/CMakeLists.txt > > @@ -1,5 +1,5 @@ >

Re: [PATCH 1/1] cmake: do not check for g++ when FTDIPP is disabled

2020-01-15 Thread Thomas Jarosch
Hi Fabrice, You wrote on Wed, Oct 02, 2019 at 05:28:33PM +0200: > diff --git a/CMakeLists.txt b/CMakeLists.txt > index 71857d0..1e26ed4 100644 > --- a/CMakeLists.txt > +++ b/CMakeLists.txt > @@ -1,5 +1,5 @@ > # Project > -project(libftdi1) > +project(libftdi1 C) > set(MAJOR_VERSION 1) >

[PATCH 1/1] cmake: do not check for g++ when FTDIPP is disabled

2019-10-02 Thread Fabrice Fontaine
Signed-off-by: Samuel Martin [Retrieved (and slightly updated) from: https://git.buildroot.net/buildroot/tree/package/libftdi1/0003-cmake-do-not-check-for-g-when-FTDIPP-is-disabled.patch] Signed-off-by: Fabrice Fontaine --- CMakeLists.txt| 2 +- ftdipp/CMakeLists.txt | 2 ++ 2 files