diff --git a/bindings/python/setup.py.cmakein b/bindings/python/setup.py.cmakein index 56747ceb7..26ba8aed9 100644 --- a/bindings/python/setup.py.cmakein +++ b/bindings/python/setup.py.cmakein @@ -29,7 +29,7 @@ else: description = "Library for interfacing with Linux IIO devices" try: - with open("${CMAKE_SOURCE_DIR}/README.md", "r") as fh: + with open("${CMAKE_CURRENT_SOURCE_DIR}/README.md", "r") as fh: long_description = fh.read() except: long_description = description