• Wayne Stambaugh's avatar
    Fix config.h default data install path assignment during configuration. · 4274f2d5
    Wayne Stambaugh authored
    * Remove redundant definition of KICAD_DATA_PATH since DEFAULT_INSTALL_PATH
      was already defined.
    * Use DEFAULT_INSTALL_PATH as the substitution for the default environment
      variable paths.
    * Add option to define DEFAULT_INSTALL_PATH during CMake configuration with
      fall back to CMAKE_INSTALL_PREFIX if not not defined.
    * Developer note: this change is primarily for package builders where
      CMAKE_INSTALL_PATH is the path where the package builder temporarily
      installs the build output before creating the package.  When building
      packages, DEFAULT_INSTALL_PATH should be set to the path where the
      package will be installed by default.
    4274f2d5
CMakeLists.txt 33.4 KB