mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
Fix Constants.hpp inclusion of version.h
This commit is contained in:
parent
18071e038e
commit
206c85222c
2 changed files with 3 additions and 2 deletions
|
@ -75,6 +75,7 @@ set(core_src
|
|||
)
|
||||
add_library(${PROJECT_NAME} STATIC ${core_src} ${core_headers})
|
||||
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_11)
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_BINARY_DIR})
|
||||
|
||||
if(UNIX)
|
||||
set_source_files_properties(
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
|
||||
#include "../include/ZeroTierOne.h"
|
||||
|
||||
#if __has_include("../version.h")
|
||||
#include "../version.h"
|
||||
#if __has_include("version.h")
|
||||
#include "version.h"
|
||||
#else /* dummy values for use inside IDEs, etc. */
|
||||
#define ZEROTIER_ONE_VERSION_MAJOR 255
|
||||
#define ZEROTIER_ONE_VERSION_MINOR 255
|
||||
|
|
Loading…
Add table
Reference in a new issue