Use KICAD_DATA for data path lookup in scripting

Fixes https://gitlab.com/kicad/code/kicad/issues/7036
This commit is contained in:
Seth Hillbrand
2021-01-12 08:22:17 -08:00
parent cd2c46e5c9
commit 2cb8dff650
3 changed files with 14 additions and 3 deletions
+3
View File
@@ -77,6 +77,9 @@
/// Allows scripts install directory to be referenced by the program code.
#define PYTHON_DEST "@PYTHON_DEST@"
/// Allows scripts install directory to be referenced by the program code.
#define KICAD_DATA "@KICAD_DATA@"
/// ngspice version string detected by pkg-config when available.
#cmakedefine NGSPICE_BUILD_VERSION "@NGSPICE_BUILD_VERSION@"