瀏覽代碼

KDevelop: Use GetLocation(0) instead of LOCATION property.

This can be migrated to use cmGeneratorTarget later.
Stephen Kelly 12 年之前
父節點
當前提交
cffcdd8331
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmGlobalKdevelopGenerator.cxx

+ 1 - 1
Source/cmGlobalKdevelopGenerator.cxx

@@ -75,7 +75,7 @@ void cmGlobalKdevelopGenerator::Generate()
         {
         if (ti->second.GetType()==cmTarget::EXECUTABLE)
           {
-          executable = ti->second.GetProperty("LOCATION");
+          executable = ti->second.GetLocation(0);
           break;
           }
         }