[Scummvm-git-logs] scummvm master -> 34d3841269e24b77a415254f45bad91e48ea2435
bluegr
noreply at scummvm.org
Mon Mar 7 12:42:55 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
34d3841269 CREATE_PROJECT: Fix cmake project with opengl enabled
Commit: 34d3841269e24b77a415254f45bad91e48ea2435
https://github.com/scummvm/scummvm/commit/34d3841269e24b77a415254f45bad91e48ea2435
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2022-03-07T14:42:52+02:00
Commit Message:
CREATE_PROJECT: Fix cmake project with opengl enabled
Compliments 04b1ce5a6e88c7b9d8320f5c12b745131479e397.
Changed paths:
devtools/create_project/cmake.cpp
diff --git a/devtools/create_project/cmake.cpp b/devtools/create_project/cmake.cpp
index 88c98e5d594..eefa2e6b63a 100644
--- a/devtools/create_project/cmake.cpp
+++ b/devtools/create_project/cmake.cpp
@@ -341,6 +341,10 @@ void CMakeProvider::writeDefines(const BuildSetup &setup, std::ofstream &output)
output << "add_definitions(-DUSE_SDL2)\n";
}
+ if (getFeatureBuildState("opengl", setup.features)) {
+ output << "add_definitions(-DUSE_GLAD)\n";
+ }
+
if (setup.useStaticDetection) {
output << "add_definitions(-DDETECTION_STATIC)\n";
}
More information about the Scummvm-git-logs
mailing list