diff --git a/wrapper.py.in b/wrapper.py.in index 7ef36cd..8f2ae39 100755 --- a/wrapper.py.in +++ b/wrapper.py.in @@ -131,7 +131,7 @@ else: depsdir = ['lib', 'lib64'] searchvar = 'LD_LIBRARY_PATH' -depsdir = [ f"@CMAKE_CURRENT_BINARY_DIR@/deps/{dir}" for dir in depsdir ] +depsdir = [ os.path.join("@CMAKE_CURRENT_BINARY_DIR@/deps/", dir) for dir in depsdir ] # append the in-tree dependencies to the library path search = separator.join(