Include extern directory in conan.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-02-19 09:59:46 +01:00
parent 6fc6dbd05f
commit a6e1726dc5
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ class PkmnLibConan(ConanFile):
def package(self): def package(self):
self.copy("*.hpp", dst="include/PkmnLib", src="src") self.copy("*.hpp", dst="include/PkmnLib", src="src")
self.copy("*.h", dst="include/extern", src="extern")
self.copy("*.dll", dst="bin", keep_path=False) self.copy("*.dll", dst="bin", keep_path=False)
self.copy("*.so", dst="lib", keep_path=False) self.copy("*.so", dst="lib", keep_path=False)

View File

@ -29,8 +29,8 @@ public:
} }
void ReturnContextToPool(asIScriptContext* ctx) { void ReturnContextToPool(asIScriptContext* ctx) {
_pool.push_back(ctx);
ctx->Unprepare(); ctx->Unprepare();
_pool.push_back(ctx);
} }
}; };