mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 15:10:20 -06:00
BUG: fix for 7845, idl files compile even with headerfile only on
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user