feat: Change ParserConfig.cmake prefix.

This commit is contained in:
sunwen
2025-03-18 14:55:54 +08:00
parent be340c7d2e
commit 78236d5b97
2 changed files with 4 additions and 3 deletions

View File

@@ -2,7 +2,8 @@ set(Parser_MAJOR_VERSION 1)
set(Parser_MINOR_VERSION 0)
set(Parser_BUILD_VERSION 0)
set(Parser_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/include/" "${CMAKE_CURRENT_LIST_DIR}/include/Parser/")
get_filename_component(Parser_DIR "${CMAKE_CURRENT_LIST_DIR}/" PATH)
set(Parser_INCLUDE_DIRS "${Parser_DIR}/include/" "${Parser_DIR}/include/Parser/")
add_library(Parser SHARED IMPORTED)
set_target_properties(Parser PROPERTIES IMPORTED_LOCATION "${Parser_DIR}/lib/libParser.so")
add_library(sqlite3 SHARED IMPORTED)