fix: define OF_VERSION_MAJOR/MINOR so Vec3/Vec2 compile the glm branch
This commit is contained in:
@ -182,7 +182,7 @@ if ! command -v aarch64-linux-gnu-g++ > /dev/null 2>&1; then
|
||||
fi
|
||||
|
||||
cd "$ADDON_DIR/example_basic"
|
||||
GLOBAL_FLAGS="-Wno-error -Wno-reorder -Wno-sign-compare -Wno-delete-non-virtual-dtor -std=c++11 -O0 -fno-tree-vrp"
|
||||
GLOBAL_FLAGS="-Wno-error -Wno-reorder -Wno-sign-compare -Wno-delete-non-virtual-dtor -std=c++11 -O0 -fno-tree-vrp -DOF_VERSION_MAJOR=0 -DOF_VERSION_MINOR=12"
|
||||
|
||||
# The OF Makefile has a bug: it calls `export $(PKG_CONFIG_PATH)` which passes the
|
||||
# VALUE as a variable name under /bin/sh, causing "bad variable name" errors.
|
||||
|
||||
Reference in New Issue
Block a user