Commit 97ef91d5 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

BUG: fix for 7845, idl files compile even with headerfile only on

parent 1902f8e6
......@@ -1302,11 +1302,10 @@ cmLocalVisualStudio7GeneratorFCInfo
needForceLang = true;
lang = sourceLang;
}
// If lang is set, the compiler will generate code automatically.
// If HEADER_FILE_ONLY is set, we must suppress this generation in
// the project file
fc.ExcludedFromBuild =
(lang && sf.GetPropertyAsBool("HEADER_FILE_ONLY"));
(sf.GetPropertyAsBool("HEADER_FILE_ONLY"));
if(fc.ExcludedFromBuild)
{
needfc = true;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment