Solution: use this variable instead
Qt Code:
  1. CMAKE_CURRENT_BINARY_DIR
To copy to clipboard, switch view to plain text mode