Commit fbe8cb60 authored by stevet's avatar stevet
Browse files

use variable instead of hardcoded library name

parent e049b4a3
......@@ -24,14 +24,14 @@ IF(APPLE)
SET_TARGET_PROPERTIES(${PY_NAME} PROPERTIES SUFFIX ".so")
ENDIF(APPLE)
INSTALL(TARGETS ${PY_NAME} DESTINATION ${PYTHON_SITELIB}/curves)
INSTALL(TARGETS ${PY_NAME} DESTINATION ${PYTHON_SITELIB}/${PY_NAME})
install (FILES plot/plot.py
deploy/__init__.py
DESTINATION ${PYTHON_SITELIB}/curves)
DESTINATION ${PYTHON_SITELIB}/${PY_NAME})
install (FILES deploy/optimization/__init__.py
DESTINATION ${PYTHON_SITELIB}/curves/optimization)
DESTINATION ${PYTHON_SITELIB}/${PY_NAME}/optimization)
ADD_PYTHON_UNIT_TEST("python-curves" "python/test/test.py" "python")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment