mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Fix cmake config path generation
This commit is contained in:
parent
5e54efb57b
commit
d4c211f04a
@ -60,12 +60,9 @@ version = NETGEN_VERSION_GIT
|
||||
|
||||
def get_cmake_dir():
|
||||
import os.path as p
|
||||
d_python = p.dirname(p.dirname(__file__))
|
||||
d_python = p.dirname(p.dirname(p.dirname(__file__)))
|
||||
py_to_cmake = p.relpath(
|
||||
NG_INSTALL_DIR_CMAKE,
|
||||
NG_INSTALL_DIR_PYTHON
|
||||
)
|
||||
return p.normpath(p.join(d_python,py_to_cmake))
|
||||
|
||||
if __name__ == '__main__':
|
||||
print(get_cmake_dir(), end='')
|
||||
|
Loading…
Reference in New Issue
Block a user