Fix build error.
Fix max_allowed_download_size option has no effect (#409).
Clean up codes.
This commit is contained in:
Tindy X
2021-12-06 19:12:02 +08:00
parent 08d00dd3d7
commit 4639ee483e
5 changed files with 25 additions and 29 deletions

View File

@@ -94,6 +94,7 @@ FIND_LIBRARY(YAML_CPP_LIBRARY NAMES yaml-cpp yaml-cppd PATHS ${YAML_CPP_LIBRARY_
LINK_DIRECTORIES(${YAML_CPP_LIBRARY_DIRS})
INCLUDE_DIRECTORIES(${YAML_CPP_INCLUDE_DIRS})
TARGET_LINK_LIBRARIES(subconverter ${YAML_CPP_LIBRARY})
ADD_DEFINITIONS(-DYAML_CPP_STATIC_DEFINE)
#IF(USING_STD_REGEX STREQUAL "ON")
# ADD_DEFINITIONS(-DUSE_STD_REGEX)