diff options
| author | 杨威 <[email protected]> | 2023-06-12 16:25:33 +0800 |
|---|---|---|
| committer | 杨威 <[email protected]> | 2023-06-13 13:30:44 +0800 |
| commit | 5d7af4f6907d7f2cdcd255072a971b057338bbe6 (patch) | |
| tree | 75ab5bbbc4b7a0833e73c3b85211e45459d298c9 /CMakeLists.txt | |
| parent | 7533e13195cb972fc43a8ed6d43f84892a19da74 (diff) | |
✨ feat(hasp verify): 链接hasp-tools,支持硬锁检测
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 90d4c6b..ef542ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -149,6 +149,12 @@ if(LIBEVENT_ENABLED STREQUAL "ON") add_definitions(-DLIBEVENT_ENABLED=1) endif() +option(HASP_ENABLED "Enable hasp envelope" OFF) +if(HASP_ENABLED STREQUAL "ON") + add_definitions(-DHASP_ENABLED=1) + set(project_name sapp-pr) +endif() + add_definitions(${CAPTURE_DEFINITIONS} ${MEM_POOL_DEFINITIONS} -D__FAVOR_BSD=1 -D__USE_BSD=1 -D_GNU_SOURCE=1 -DMESA_SAPP_PLATFORM=1) |
