This website requires JavaScript.
Explore
Help
Sign In
realAscot
/
kicad-source
Watch
1
Star
0
Fork
0
You've already forked kicad-source
mirror of
https://gitlab.com/kicad/code/kicad.git
synced
2025-09-15 10:43:15 +02:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
kicad-source
/
3d-viewer
/
3d_plugin_dir.h.in
2 lines
48 B
C
Raw
Normal View
History
Unescape
Escape
Use absolute path CMAKE_INSTALL_FULL_LIBDIR for 3d viewer PLUGINDIR Currently, the plugindir in the plugin manager is constructed as {CMAKE_INSTALL_PREFIX}/bin/../{CMAKE_INSTALL_LIBDIR}/kicad/..., while CMakes install uses {CMAKE_INSTALL_LIBDIR}/kicad/... In case CMAKE_INSTALL_LIBDIR is a relative path "install" prefixes it with CMAKE_INSTALL_PREFIX and both paths happen to match, otherwise the constructed path ends up as e.g. "/usr/bin/../usr/lib/kicad/...". For these cases where an absolute path is wanted CMake provides the CMAKE_INSTALL_FULL_<dir> variants which works the same as CMAKE_INSTALL_<dir> when used as DIRECTORY for install.
2018-10-09 17:35:55 +02:00
#
define PLUGINDIR "@CMAKE_INSTALL_FULL_LIBDIR@"
Reference in New Issue
Copy Permalink