title: CLion failing to detect C/C++ compiler ABI info
body: <p>I have a custom toolchain for building projects. And by custom toolchain, I mean a derivative of the Clang C compiler, C++ compiler, and linker.</p>
  
  <p>The project(s) build just fine, but I'm unable to use the Intellij features of CLion, because it can't build a tags database (or whatever it does under the hood) due to not being able to recognize the custom toolchain.</p>
  
  <p>Thus, hitting <code>Tools</code> -> <code>CMake</code> -> <code>Reset Cache and Reload Project</code> spits out:</p>
  
  <pre><code>/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=~/&lt;path-to-custom-toolchain&gt;/Toolchain.cmake -G "CodeBlocks - Unix Makefiles" /Users/&lt;project-directory&gt;/src
  -- Setting up Toolchain 1.0 at /Users/&lt;tools&gt;/build
  -- Setting up Toolchain 1.0 at /Users/&lt;tools&gt;/build
  -- The C compiler identification is Clang 7.0.0
  -- The CXX compiler identification is Clang 7.0.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - failed
  -- Detecting C compile features
  -- Detecting C compile features - failed
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - failed
  -- Detecting CXX compile features
  -- Detecting CXX compile features - failed
  -- Configuring done
  </code></pre>
  
  <hr>
  
  <p>Screenshot of the preference options for the project (It's a link because I don't have the rep required to post images yet):
  <br>
  <a href="https://i.stack.imgur.com/GgL8p.png" rel="nofollow noreferrer">Project Preferences</a></p>
  
  <hr>
  
  <p>So my question is, how should I go about solving this problem? Or does this problem exceed the limitations of CLion? Or do I have an incomplete understanding of the problem?</p>