CmakeLists.txt: Added version-number and debug suffixes + SPDLOG_BUILD_SHARED property
This commit is contained in:
@@ -19,6 +19,7 @@ function(spdlog_extract_version)
|
||||
endif()
|
||||
set(ver_patch ${CMAKE_MATCH_1})
|
||||
|
||||
set(SPDLOG_VERSION_MAJOR ${ver_major} PARENT_SCOPE)
|
||||
set (SPDLOG_VERSION "${ver_major}.${ver_minor}.${ver_patch}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user