build: fix compiler and cmake warnings
added missing virtual destructor fixed a warning in token.h: expression with side effects will be evaluated despite being used as an operand to 'typeid' CMP00043 Cmake warning added missing override keyword
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ if(EXISTS "${CMAKE_SOURCE_DIR}/.git")
|
||||
)
|
||||
|
||||
execute_process(
|
||||
COMMAND git describe --match "[0-9]*" --abbrev=7 HEAD
|
||||
COMMAND git describe --long --match "[0-9]*" --abbrev=7 HEAD
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
OUTPUT_VARIABLE GIT_VERSION_NUMBER
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
|
||||
Reference in New Issue
Block a user