build: auto update version info without manually deleting version.h

This commit is contained in:
stoffu 2017-09-14 08:28:23 +09:00
parent a6403846ef
commit e29282d208
No known key found for this signature in database
GPG key ID: 41DAB8343A9EC012
20 changed files with 63 additions and 46 deletions

View file

@ -186,7 +186,7 @@ endif()
# elseif(CMAKE_SYSTEM_NAME MATCHES ".*BSDI.*")
# set(BSDI TRUE)
include_directories(external/easylogging++ src contrib/epee/include external "${CMAKE_BINARY_DIR}/version")
include_directories(external/easylogging++ src contrib/epee/include external)
if(APPLE)
include_directories(SYSTEM /usr/include/malloc)