title: CMake Error: CMake can not determine linker language
body: <p>I'm trying to build a project in Android Studio and i'm getting this error:</p>
  
  <pre><code>CMake Error: CMake can not determine linker language for target: AAA-jni
  </code></pre>
  
  <p>Since I haven't wrote the code, I tried to find AAA-jni and I found it:</p>
  
  <pre><code>"libraries" : 
      {
          "AAA-jni-Release-armeabi-v7a" : 
          {
              "abi" : "armeabi-v7a",
              "artifactName" : "AAA-jni",
              "buildCommand" : "C:\\Users\\Nicky\\AppData\\Local\\Android\\sdk\\cmake\\3.6.3155560\\bin\\cmake.exe --build C:\\Users\\Nicky\\Documents\\AAAAndroid\\app\\.externalNativeBuild\\cmake\\release\\armeabi-v7a --target AAA-jni",
              "buildType" : "release",
              "output" : "C:/Users/Nicky/Documents/AAAAndroid/app/build/intermediates/cmake/release/obj/armeabi-v7a/libAAA-jni.so",
              "toolchain" : "3547424389"
          }
      },
  </code></pre>
  
  <p>This is were it gets called in the CMake text file: </p>
  
  <pre><code>target_link_libraries( Autour-jni ${log-lib} ${z-lib} )
  </code></pre>
  
  <p>Any suggestions on how to fix this?</p>