mirror of
https://github.com/MetaCubeX/subconverter.git
synced 2025-11-04 18:19:42 +08:00
Fix incorrect handing of default node parameters in SSD subscription. Fix unable to parse some Clash rule-providers (#289). Fix not filtering inline comments in some Surge rulesets. (#285) Add Cron task options. Add clean context option for persisting a JS context across the whole request. Replace JS engine with QuickJS.
12 lines
329 B
CMake
12 lines
329 B
CMake
find_path(QUICKJS_INCLUDE_DIRS quickjs/quickjs.h)
|
|
|
|
find_library(QUICKJS_LIBRARY libquickjs)
|
|
|
|
set(QUICKJS_LIBRARIES "${QUICKJS_LIBRARY}")
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(QuickJS DEFAULT_MSG
|
|
QUICKJS_INCLUDE_DIRS QUICKJS_LIBRARY)
|
|
|
|
mark_as_advanced(QUICKJS_INCLUDE_DIRS QUICKJS_LIBRARY)
|