mirror of
https://github.com/MetaCubeX/subconverter.git
synced 2025-11-04 18:19:42 +08:00
Update CMake script
This commit is contained in:
parent
05fa5be1cc
commit
6b633d9153
@ -51,10 +51,9 @@ FIND_PACKAGE(Rapidjson REQUIRED)
|
||||
INCLUDE_DIRECTORIES(${RAPIDJSON_INCLUDE_DIRS})
|
||||
|
||||
PKG_CHECK_MODULES(YAML_CPP yaml-cpp REQUIRED)
|
||||
FIND_PATH(YAML_CPP_INCLUDE_DIR NAMES yaml.h PATHS ${YAML_CPP_INCLUDE_DIRS})
|
||||
FIND_LIBRARY(YAML_CPP_LIBRARY NAMES yaml-cpp PATHS ${YAML_CPP_LIBRARY_DIRS})
|
||||
LINK_DIRECTORIES(${YAML_CPP_LIBRARY_DIRS})
|
||||
INCLUDE_DIRECTORIES(${YAML_CPP_INCLUDE_DIR})
|
||||
INCLUDE_DIRECTORIES(${YAML_CPP_INCLUDE_DIRS})
|
||||
TARGET_LINK_LIBRARIES(subconverter ${YAML_CPP_LIBRARY})
|
||||
|
||||
PKG_CHECK_MODULES(PCRE libpcre REQUIRED)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user