Closed mmoelle1 closed 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.
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.
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.