|
@@ -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})
|