control: tags -1 patch

> Relevant part (hopefully):
> > /usr/bin/c++    -I/usr/include/qt4  -g -O2 
> > -fdebug-prefix-map=/<<BUILDDIR>>/flightcrew-0.7.2+dfsg=. 
> > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> > -D_FORTIFY_SOURCE=2    -o CMakeFiles/cmTC_aec35.dir/CheckSymbolExists.cxx.o 
> > -c 
> > /<<BUILDDIR>>/flightcrew-0.7.2+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
> > /<<BUILDDIR>>/flightcrew-0.7.2+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
> >  In function 'int main(int, char**)':
> > /<<BUILDDIR>>/flightcrew-0.7.2+dfsg/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19:
> >  error: 'Q_WS_WIN' was not declared in this scope
> >    return ((int*)(&Q_WS_WIN))[argc];
> >                    ^~~~~~~~
> > CMakeFiles/cmTC_aec35.dir/build.make:65: recipe for target 
> > 'CMakeFiles/cmTC_aec35.dir/CheckSymbolExists.cxx.o' failed
> > make[3]: *** [CMakeFiles/cmTC_aec35.dir/CheckSymbolExists.cxx.o] Error 1
> 

it wasn't the relevant part :p

CMake Error at src/FlightCrew/tests/CMakeLists.txt:67 (add_library):
  Cannot find source file:

    /usr/src/gtest/src/gtest-all.cc

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


CMake Error: Cannot determine link language for target "GOOGLE_MOCK_LIB".
CMake Error: CMake can not determine linker language for target: GOOGLE_MOCK_LIB

this is the correct one.

Adding libgtest-dev to build-dependencies solves the issue and brings that file 
back.
(this is probably something due to the recent introduction of the new 
src:googletest package.

cheers,

G.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to