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

Task #8887: Fixed bug in CMakeLists.txt. The add_subdirectory() command MUST...

Task #8887: Fixed bug in CMakeLists.txt. The add_subdirectory() command MUST be placed AFTER the python_install() command. Otherwise __init__.py will not be properly symlinked, which will result in failing tests, because 'import lofar.common' will import nothing.
parent eb58aea8
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,6 @@ lofar_package(PyCommon 1.0)
lofar_find_package(Python 2.6 REQUIRED)
include(PythonInstall)
add_subdirectory(test)
set(_py_files
__init__.py
dbcredentials.py
......@@ -16,3 +14,5 @@ set(_py_files
datetimeutils.py)
python_install(${_py_files} DESTINATION lofar/common)
add_subdirectory(test)
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