Browse Source

fix(win): "config.h: No such file or directory"

pull/429/head
VergLsm 4 years ago
parent
commit
68c0a1e0fa
No known key found for this signature in database GPG Key ID: 1894BB73BAA8A55E
  1. 2
      CMakeLists.txt
  2. 2
      include/n2n.h

2
CMakeLists.txt

@ -4,7 +4,7 @@ include(CheckFunctionExists)
SET(CMAKE_VERBOSE_MAKEFILE ON) SET(CMAKE_VERBOSE_MAKEFILE ON)
# N2n release information # N2n release information
set(N2N_VERSION "2.7.0") set(N2N_VERSION "2.8.0")
set(N2N_OSNAME ${CMAKE_SYSTEM}) set(N2N_OSNAME ${CMAKE_SYSTEM})
execute_process( execute_process(
COMMAND git --version COMMAND git --version

2
include/n2n.h

@ -38,7 +38,7 @@
#ifdef WIN32 #ifdef WIN32
#include "win32/n2n_win32.h" #include "win32/n2n_win32.h"
#ifdef _MSC_VER #ifndef CMAKE_BUILD
#include "config.h" /* Visual C++ */ #include "config.h" /* Visual C++ */
#else #else
#include "win32/winconfig.h" #include "win32/winconfig.h"

Loading…
Cancel
Save