提交 7df7269a 编写于 作者: J jack

add ENCRYPTION_DIR in windows cmake setting

上级 13a42d77
...@@ -236,7 +236,9 @@ if(WITH_ENCRYPTION) ...@@ -236,7 +236,9 @@ if(WITH_ENCRYPTION)
link_directories("${ENCRYPTION_DIR}/lib") link_directories("${ENCRYPTION_DIR}/lib")
set(DEPS ${DEPS} ${ENCRYPTION_DIR}/lib/libpmodel-decrypt${CMAKE_SHARED_LIBRARY_SUFFIX}) set(DEPS ${DEPS} ${ENCRYPTION_DIR}/lib/libpmodel-decrypt${CMAKE_SHARED_LIBRARY_SUFFIX})
else() else()
message(FATAL_ERROR "Encryption Tool don't support WINDOWS") include_directories("${ENCRYPTION_DIR}/include")
link_directories("${ENCRYPTION_DIR}/lib")
set(DEPS ${DEPS} ${ENCRYPTION_DIR}/lib/pmodel-decrypt${CMAKE_SHARED_LIBRARY_SUFFIX})
endif() endif()
endif() endif()
......
...@@ -50,6 +50,11 @@ ...@@ -50,6 +50,11 @@
"name": "WITH_ENCRYPTION", "name": "WITH_ENCRYPTION",
"value": "False", "value": "False",
"type": "BOOL" "type": "BOOL"
},
{
"name": "ENCRYPTION_DIR",
"value": "",
"type": "PATH"
} }
] ]
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册