Skip to content
Snippets Groups Projects
Commit 3473c7c7 authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Bug 1310: Quick-and-dirty fix to get the Python/C++ bindings (also) installed

in the python site-packages directory. Note that these libraries will now be
installed twice; this should be fixed at some later time.
parent 324bd8ea
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,12 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink
lofar_add_library(_parmdb SHARED pyparmdb.cc)
set_target_properties(_parmdb PROPERTIES PREFIX "")
# This is a quick-and-dirty fix to install the Python binding module in the
# right place. It will now be installed twice, because lofar_add_library()
# will install it in $prefix/$libdir
install(TARGETS _parmdb
DESTINATION ${PYTHON_INSTALL_DIR}/lofar/parmdb)
lofar_add_bin_program(versionpyparmdb
versionpyparmdb.cc
Package__Version.cc)
......
......@@ -10,6 +10,12 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink
lofar_add_library(_pyparameterset SHARED pyparameterset.cc)
set_target_properties(_pyparameterset PROPERTIES PREFIX "")
# This is a quick-and-dirty fix to install the Python binding module in the
# right place. It will now be installed twice, because lofar_add_library()
# will install it in $prefix/$libdir
install(TARGETS _pyparameterset
DESTINATION ${PYTHON_INSTALL_DIR}/lofar/parameterset)
lofar_add_bin_program(versionpyparameterset
versionpyparameterset.cc
Package__Version.cc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment