Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] cmake fails to detect RTL_AIRBAND_VERION when using source from a release artifact #455

Closed
charlie-foxtrot opened this issue Jan 24, 2024 · 1 comment

Comments

@charlie-foxtrot
Copy link
Owner

As of #450 cmake has an expectation that it is running in a git repo, however when downloading source from a release there is no .git folder

steps to reproduce:

$ wget https://github.com/charlie-foxtrot/RTLSDR-Airband/archive/refs/tags/v5.0.5.tar.gz
$ tar xzf v5.0.5.tar.gz
$ cd RTLSDR-Airband-5.0.5/
$ mkdir build
$ cd build/
$ cmake ../
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:13 (message):
  Failed to detect RTL_AIRBAND_VERSION - "fatal: not a git repository (or any
  of the parent directories): .git"


-- Configuring incomplete, errors occurred!
See also "/root/RTLSDR-Airband-5.0.5/build/CMakeFiles/CMakeOutput.log".
@charlie-foxtrot
Copy link
Owner Author

Resolved in v5.0.6 by #456

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant