kicad/CMakeModules
Martin Aberg dd3c24faf8 Generate PYTHONPATH from CMake information
The CMake scripts calculate the install path for python scripts by
  distutils.sysconfig.get_python_lib(
    plat_specific=0,
    standard_lib=0,
    prefix=''
  )
which generates a string in line with
  lib/python2.7/site-packages

This string ends up in the CMake variable PYTHON_DEST and is used by the
install step as destination directory for pcbnew.py.

There has been a hard-coded assumption on the content of that string in
PcbNew which is not compatible with FreeBSD 11.1.

This commit eliminates the hard-coded assumption in PcbNew and reuses
the install path as known by CMake.

Fixes: lp:1777921
* https://bugs.launchpad.net/kicad/+bug/1777921
2018-09-20 12:03:25 -07:00
..
CMakeFindFrameworks.cmake * Added modified CMake FindPython... modules to support using Python-a-mingw-us distribution when building Windows scripting support using MinGW 2013-08-04 21:31:14 +01:00
CheckFindPackageResult.cmake CMake: 2008-05-05 18:23:24 +00:00
CreateGitVersionHeader.cmake Change how version strings are generated. 2018-02-16 11:45:58 -05:00
FindCairo.cmake Remove Boost library building and other build improvements. 2016-01-03 15:33:09 -05:00
FindGLEW.cmake Update FindGLEW.cmake 2017-07-28 11:30:22 +02:00
FindGLM.cmake Build configuration fixes. 2015-12-10 11:35:43 -05:00
FindGdiPlus.cmake 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
FindOpenCASCADE.cmake OCC: Fix issues for OpenCascade 7.3 2018-06-12 10:03:13 -07:00
FindOpenSSL.cmake Restore FindOpenSSL.cmake, the cmake version does not work on MinGW. 2016-01-14 10:31:59 -05:00
FindPackageMessage.cmake Fix FindPackageHandleStandardArgs.cmake for differences between CMake 2 and 3. 2014-09-26 21:08:44 -04:00
FindPixman.cmake Copy and adapt FindCairo.cmake for Pixman 2017-02-01 19:22:47 -05:00
FindPythonInterp.cmake Actually make FindPythonInterp.cmake use correct FindPackageHandleStandardArgs.cmake. 2014-10-11 17:50:18 -04:00
FindPythonLibs.cmake * Fix FindPythonLibs to search /include/ for Python.h 2014-10-25 21:56:44 +01:00
FindSWIG.cmake CMake: add FindSWIG.cmake from CMake 3.5 for swig 3.0 support. 2016-06-30 11:03:09 -04:00
FindZLIB.cmake.unused Remove minizip from kicad sources. Useless because now (and since a long time) wxWidgets supports full zip file read/write, and minizip build creates problems under Windows, due to zlib not always installed. 2011-09-07 20:41:35 +02:00
Findngspice.cmake Update message in Findngspice.cmake 2018-01-08 23:30:48 -07:00
FindwxWidgets.cmake Check required libraries in FindwxWidgets.cmake 2017-04-26 20:43:29 -04:00
Functions.cmake Add support for building *.deb file using CPack, install ~/fp-lib-table either from kicad-install.sh or from make install_user_configuration_files 2013-10-17 14:03:36 -05:00
Html2C.cmake Eeschema: add dialog and utilities to create BOMs from generic netlist 2013-06-14 16:59:52 +02:00
KiCadVersion.cmake Tag version 5.0.1-dev. 2018-07-13 16:33:17 -04:00
MinGWResourceCompiler.cmake Add CMAKE_RC_COMPILER variable to mingw_resource_compiler macro. 2008-09-07 12:34:27 +00:00
PNG2cpp.cmake switch to <> for includes from "" per conversation with Jean-Pierre and Wayne, adjust search paths 2012-01-22 22:33:36 -06:00
PerformFeatureChecks.cmake CMake: use visibility definitions in provided by CMake when available. 2015-12-07 16:46:18 -05:00
SelectLibraryConfigurations.cmake * Added modified CMake FindPython... modules to support using Python-a-mingw-us distribution when building Windows scripting support using MinGW 2013-08-04 21:31:14 +01:00
TokenList2DsnLexer.cmake Cpp11 compability steps. 2017-06-12 11:47:20 -04:00
UsewxWidgets.cmake 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
WriteVersionHeader.cmake Change how version strings are generated. 2018-02-16 11:45:58 -05:00
cmake_uninstall.cmake.in Add support for building *.deb file using CPack, install ~/fp-lib-table either from kicad-install.sh or from make install_user_configuration_files 2013-10-17 14:03:36 -05:00
config.h.cmake Generate PYTHONPATH from CMake information 2018-09-20 12:03:25 -07:00