Initial late commit
This commit is contained in:
21
application/build/spdlog-config-version.cmake
Normal file
21
application/build/spdlog-config-version.cmake
Normal file
@@ -0,0 +1,21 @@
|
||||
set(PACKAGE_VERSION "1.16.0")
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
if("1.16.0" MATCHES "^([0-9]+)\\.")
|
||||
set(CVF_VERSION_MAJOR ${CMAKE_MATCH_1})
|
||||
else()
|
||||
set(CVF_VERSION_MAJOR "1.16.0")
|
||||
endif()
|
||||
|
||||
if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
else()
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
endif()
|
||||
|
||||
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||
set(PACKAGE_VERSION_EXACT TRUE)
|
||||
endif()
|
||||
endif()
|
||||
Reference in New Issue
Block a user