Auto update
This commit is contained in:
parent
642312f996
commit
6672fa19bd
4907 changed files with 206456 additions and 171700 deletions
|
|
@ -9,19 +9,19 @@
|
|||
# The variable CVF_VERSION must be set before calling configure_file().
|
||||
|
||||
|
||||
set(PACKAGE_VERSION "1.1.9")
|
||||
set(PACKAGE_VERSION "1.2.0")
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
|
||||
if("1.1.9" MATCHES "^([0-9]+)\\.")
|
||||
if("1.2.0" MATCHES "^([0-9]+)\\.")
|
||||
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
||||
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
|
||||
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
|
||||
endif()
|
||||
else()
|
||||
set(CVF_VERSION_MAJOR "1.1.9")
|
||||
set(CVF_VERSION_MAJOR "1.2.0")
|
||||
endif()
|
||||
|
||||
if(PACKAGE_FIND_VERSION_RANGE)
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ add_library(OpenCC::OpenCC STATIC IMPORTED)
|
|||
|
||||
set_target_properties(OpenCC::OpenCC PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/opencc"
|
||||
INTERFACE_LINK_LIBRARIES "marisa"
|
||||
INTERFACE_LINK_LIBRARIES "Marisa::marisa"
|
||||
)
|
||||
|
||||
# Load information for each installed configuration.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue