mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-21 02:01:22 +00:00
Fix Constants.hpp inclusion of version.h
This commit is contained in:
parent
18071e038e
commit
206c85222c
@ -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…
x
Reference in New Issue
Block a user