瀏覽代碼

Update CMakeLists.txt

yspolyakov 1 年之前
父節點
當前提交
5e591a864e
共有 1 個文件被更改,包括 8 次插入2 次删除
  1. 8 2
      CMakeLists.txt

+ 8 - 2
CMakeLists.txt

@@ -1,6 +1,12 @@
 cmake_minimum_required (VERSION 3.5.1)
 
-project(openfhe)
+project (OpenFHE-Python)
+
+set(OPENFHE_PYTHON_VERSION_MAJOR 0)
+set(OPENFHE_PYTHON_VERSION_MINOR 8)
+set(OPENFHE_PYTHON_VERSION_PATCH 1)
+set(OPENFHE_PYTHON_VERSION ${OPENFHE_PYTHON_VERSION_MAJOR}.${OPENFHE_PYTHON_VERSION_MINOR}.${OPENFHE_PYTHON_VERSION_PATCH})
+
 set(CMAKE_CXX_STANDARD 17)
 option( BUILD_STATIC "Set to ON to include static versions of the library" OFF)
 
@@ -66,4 +72,4 @@ execute_process(
 )
 
 message(STATUS "Python site packages directory: ${PYTHON_SITE_PACKAGES}")
-install(TARGETS openfhe LIBRARY DESTINATION ${PYTHON_SITE_PACKAGES})
+install(TARGETS openfhe LIBRARY DESTINATION ${PYTHON_SITE_PACKAGES})