Skip to content

Commit 011055b

Browse files
Moved __init__.py to src/ and amended CMakeLists.txt
1 parent 8a76b28 commit 011055b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pybind11_add_module(openfhe
7575
)
7676
# The next line ensures that the installed openfhe module can find its shared library dependencies
7777
# in the 'lib/' subdirectory relative to itself without requiring LD_LIBRARY_PATH.
78-
target_link_options(openfhe PRIVATE -Wl,-rpath,$ORIGIN/lib -Wl,--disable-new-dtags)
78+
target_link_options(openfhe PRIVATE "-Wl,-rpath=$ORIGIN/lib" "-Wl,--disable-new-dtags")
7979

8080
### Python installation
8181
# Allow the user to specify the path to Python executable (if not provided, find it)
@@ -108,5 +108,5 @@ else()
108108
endif()
109109
message("***** INSTALL IS AT ${Python_Install_Location}; to change, run cmake with -DCMAKE_INSTALL_PREFIX=/your/path")
110110
install(TARGETS openfhe LIBRARY DESTINATION ${Python_Install_Location})
111-
install(FILES ${CMAKE_SOURCE_DIR}/__init__.py DESTINATION ${Python_Install_Location})
111+
install(FILES ${CMAKE_SOURCE_DIR}/src/__init__.py DESTINATION ${Python_Install_Location})
112112

File renamed without changes.

0 commit comments

Comments
 (0)