This commit is contained in:
root
2024-04-24 11:40:25 +08:00
parent b9a0edb6b6
commit 549cbe66b4
7 changed files with 80 additions and 91 deletions

View File

@@ -1,5 +1,5 @@
# 声明编译要求cmake最低版本
CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
# 配置支持C++11
@@ -23,7 +23,7 @@ file(GLOB_RECURSE DIR_ASMJIT_LIB_SRCS
#添加头文件目录
include_directories(${PROJECT_SOURCE_DIR}/include /home/asio/asio-1.28.0/include/ ${PROJECT_SOURCE_DIR}/src/ ${PROJECT_SOURCE_DIR}/src/sdk/)
add_compile_definitions(ASMJIT_STATIC)
add_definitions(ASMJIT_STATIC)
# 添加库源文件
set(LIB_SOURCE