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

Can I disable LIBTINS_ENABLE_PCAP? #377

Open
lattice0 opened this issue Nov 30, 2019 · 1 comment
Open

Can I disable LIBTINS_ENABLE_PCAP? #377

lattice0 opened this issue Nov 30, 2019 · 1 comment

Comments

@lattice0
Copy link
Contributor

I tried and got

-- Not building examples as pcap support is disabled
-- googletest git submodule is absent. Run `git submodule init && git submodule update` to get it
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PCAP_INCLUDE_DIR
   used as include directory in directory /home/user/libopenvpn/libtins/src
   used as include directory in directory /home/user/libopenvpn/libtins/src
   used as include directory in directory /home/user/libopenvpn/libtins/src
   used as include directory in directory /home/user/libopenvpn/libtins/src
   used as include directory in directory /home/user/libopenvpn/libtins/src
   used as include directory in directory /home/user/libopenvpn/libtins/src
   used as include directory in directory /home/user/libopenvpn/libtins/src
PCAP_LIBRARY
    linked by target "tins" in directory /home/user/libopenvpn/libtins/src

-- Configuring incomplete, errors occurred!

so it looks like it can't be disabled. However there is the option to disable it

@lattice0
Copy link
Contributor Author

Turns out even without touching LIBTINS_ENABLE_PCAP variable (therefore letting it ON) gives me the error

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