Skip to content

Instantly share code, notes, and snippets.

@bytepicker
Created March 14, 2017 08:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bytepicker/1ce1886376241e61fa76ca615838ae7f to your computer and use it in GitHub Desktop.
Save bytepicker/1ce1886376241e61fa76ca615838ae7f to your computer and use it in GitHub Desktop.
Due to the wrong format of cmake file
https://github.com/mfontanini/libtins/blob/master/cmake/Modules/FindPCAP.cmake
and current WpdPack folder structure (all folders start with a capital)
the only way to build libtins is to provide INCLUDE_DIR and -G option like that:
C:\Users\Sasha\GitHub\libtins\build>cmake ../ -DPCAP_ROOT-DIR=C:\WpdPack -DPCAP_
INCLUDE_DIR=C:\WpdPack\Include -DLIBTINS_ENABLE_WPA2=0 -DLIBS_BUILD_SHARED=0 -G
"MinGW Makefiles"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment