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

Bug 1310: Now uses new python_install() macro

parent 6b09817f
No related branches found
No related tags found
No related merge requests found
...@@ -38,8 +38,8 @@ lofar_add_package(${PROJECT_NAME} 1.0 DEPENDS Common) ...@@ -38,8 +38,8 @@ lofar_add_package(${PROJECT_NAME} 1.0 DEPENDS Common)
## External packages ## External packages
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
include(LofarFindPackage) include(LofarFindPackage)
lofar_find_package(Python REQUIRED)
lofar_find_package(Boost REQUIRED COMPONENTS python) lofar_find_package(Boost REQUIRED COMPONENTS python)
lofar_find_package(Python REQUIRED)
lofar_find_package(Pyrap REQUIRED) lofar_find_package(Pyrap REQUIRED)
## --------------------------------------------------------------------------- ## ---------------------------------------------------------------------------
......
...@@ -31,3 +31,8 @@ set_target_properties(_pyparameterset PROPERTIES PREFIX "") ...@@ -31,3 +31,8 @@ set_target_properties(_pyparameterset PROPERTIES PREFIX "")
lofar_add_bin_program(versionpyparameterset lofar_add_bin_program(versionpyparameterset
versionpyparameterset.cc versionpyparameterset.cc
Package__Version.cc) Package__Version.cc)
# Install Python modules
include(PythonInstall)
python_install(__init__.py
DESTINATION ${PYTHON_INSTALL_DIR}/lofar/parameterset)
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
include(PythonMacros) include(PythonInstall)
python_install(__init__.py ${PYTHON_INSTALL_DIR}/lofar) python_install(__init__.py DESTINATION ${PYTHON_INSTALL_DIR}/lofar)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment