kicad-lib-committers team mailing list archive
-
kicad-lib-committers team
-
Mailing list archive
-
Message #00040
Re: Library support
I'm in a hurry right now, but I'll look into that tomorrow if not done!
On Sun, Dec 22, 2013 at 5:55 AM, Marco Serantoni
<marco.serantoni@xxxxxxxxx>wrote:
> Hi,
> I’ve seen that the library was missing the APPLE support in CMake, i’ve
> added it and you can see the patch at the end of this mail.
> Could someone add this on the library CMAKE ?
>
> To choice if the library will be personal or global CMAKE_INSTALL_PREFIX
> should point to $HOME or /
>
> Thank you for your time,
> Marco
>
> Index: CMakeLists.txt
> ===================================================================
> --- CMakeLists.txt (revision 321)
> +++ CMakeLists.txt (working copy)
> @@ -9,6 +9,13 @@
> # Locations for install targets.
> if(UNIX)
> if(APPLE)
> + set(CMAKE_INSTALL_PREFIX / CACHE PATH "")
> +
> + set(KICAD_DATA "Library/Application Support/kicad/" CACHE PATH
> "Location of KiCad data files.")
> +
> + set(KICAD_MODULES ${KICAD_DATA}/modules)
> + set(KICAD_LIBRARY ${KICAD_DATA}/library)
> + set(KICAD_TEMPLATE ${KICAD_DATA}/template)
> else(APPLE)
> # Like all variables, CMAKE_INSTALL_PREFIX can be over-ridden on
> the command line.
> set(CMAKE_INSTALL_PREFIX /usr/local
>
>
> --
> Mailing list: https://launchpad.net/~kicad-lib-committers
> Post to : kicad-lib-committers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-lib-committers
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References