'Cmake not exporting code because Xcode 1.5 is not supported

Due to hardware limitations, I am trying to create a plugin using the JUCE framework in CLion. But Cmake isn't working, I keep getting this error every time I try to generate build files.

I've tried both methods of command line and the Cmake application and both have the same error.

Error message in the application

CMake Error:
      Xcode 1.5 not supported.

CMake Error: Error SetGlobalGenerator called with null
CMake Error at CMakeLists.txt:2 (project):
  Language 'C' is currently being enabled.  Recursive call not allowed.

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
Configuring incomplete, errors occurred!

Error message in the command line

CMake Error:
  Xcode 1.5 not supported.

CMake Error: Could not create named generator Xcode

I don't have Xcode installed on my computer, and I can't install it even if I wanted to.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source