fix compiling on sourcemod 1.7

This commit is contained in:
BotoX 2016-02-13 14:46:28 +01:00
parent c1f1556c0b
commit 00a9c28e5a
2 changed files with 2 additions and 3 deletions

View File

@ -17,7 +17,8 @@ for sdk_name in SM.sdks:
binary = SM.HL2Config(project, projectName + '.ext.' + sdk.ext, sdk) binary = SM.HL2Config(project, projectName + '.ext.' + sdk.ext, sdk)
binary.compiler.cxxincludes += [ binary.compiler.cxxincludes += [
os.path.join(sdk.path, 'game/server') os.path.join(sdk.path, 'game', 'server'),
os.path.join(SM.sm_root, 'public', 'sourcepawn')
] ]
SM.extensions += builder.Add(project) SM.extensions += builder.Add(project)

View File

@ -116,6 +116,4 @@ public:
#endif #endif
}; };
#endif // _INCLUDE_SOURCEMOD_EXTENSION_PROPER_H_ #endif // _INCLUDE_SOURCEMOD_EXTENSION_PROPER_H_