mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Scons: check for windows.h under msvc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18981 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
07caea8f92
commit
08f31f3e64
@ -607,6 +607,11 @@ conf = Configure(env,
|
||||
}
|
||||
)
|
||||
|
||||
# When using msvc, windows.h is required
|
||||
if use_vc and not conf.CheckCHeader('windows.h'):
|
||||
print 'Windows.h is not found. Please install Windows Platform SDK.'
|
||||
Exit(1)
|
||||
|
||||
# pkg-config? (if not, we use hard-coded options)
|
||||
if conf.CheckPkgConfig('0.15.0'):
|
||||
env['HAS_PKG_CONFIG'] = True
|
||||
|
Loading…
Reference in New Issue
Block a user