1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: Add build-options for building Pd64-externals
Author: IOhannes m zmölnig <umlaeute@debian.org>
Origin: Debian
Bug: https://git.iem.at/pd/vstplugin/-/issues/266
Last-Update: 2025-10-09
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- pd-vstplugin.orig/pd/CMakeLists.txt
+++ pd-vstplugin/pd/CMakeLists.txt
@@ -1,4 +1,5 @@
message(STATUS "---\n*** vstplugin~ ***")
+set(PD_FLOATSIZE 32 CACHE STRING "the floatsize of Pd (32 or 64)")
# Pd directories:
if (NOT PD_DIR)
@@ -91,6 +92,8 @@
target_compile_definitions(pd PUBLIC PDINSTANCE)
endif()
+target_compile_definitions(pd PUBLIC PD_FLOATSIZE=${PD_FLOATSIZE})
+
# plugin extension
set(PD_EXTENSION "" CACHE STRING "Pd plugin extension")
if (NOT PD_EXTENSION)
|