Fix build of darwin-debug in cmake on OS X. Currently it works in XCode.
This patch fixes test_launch_in_terminal test which doesn't work in OS X since the moment as it was added in r225284. The test fails because Target::Launch returns the following error: "the 'darwin-debug' executable doesn't exists at '/Users/IliaK/p/llvm/build_ninja/lib/python2.7/site-packages/lldb/darwin-debug'".
Log: ====================================================================== FAIL: test_launch_in_terminal (TestTerminal.LaunchInTerminalTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/IliaK/p/llvm/tools/lldb/test/functionalities/tty/TestTerminal.py", line 36, in test_launch_in_terminal self.assertTrue(error.Success(), "Make sure launch happened successfully in a terminal window") AssertionError: False is not True : Make sure launch happened successfully in a terminal window Config=x86_64-clang
For more information see following thread: http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20150119/014983.html