QuTech-Delft / OpenQL

OpenQL: A Portable Quantum Programming Framework for Quantum Accelerators. https://dl.acm.org/doi/10.1145/3474222
https://openql.readthedocs.io
Other
99 stars 44 forks source link

Update CMakeLists.txt #342

Closed mmoelle1 closed 4 years ago

mmoelle1 commented 4 years ago

Using CMAKE_SOURCE_DIR does not work correctly if OpenQL is used as subproject within another project. Either use CMAKE_CURRENT_SOURCE_DIR or (better choice) PROJECT_SOURCE_DIR.

jvanstraten commented 4 years ago

This and many more issues with the build system will already be taken care of by #340. CMake-wise it should be done already, I'm just working on conda still since that supposedly worked at some point according to the docs. It'd be great if you could try whatever you're doing with that branch; the more it's tested the better.

razvnane commented 4 years ago

As Jeroen pointed out earlier, this issue should already be fixed by PR #340 (now merged), so I will close this. Nevertheless, in case this issue somehow will still cause problems, please reopen or create a new issue.