CMake build does not obey specified INKSCAPE_DATADIR and INKSCAPE_LIBDIR

Bug #1675539 reported by Roman Hargrave
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
Qantas94Heavy

Bug Description

If INKSCAPE_DATADIR or INKSCAPE_LIBDIR are specified when invoking CMake (e.g. by -DINKSCAPE_DATADIR=...), their values are not reflected in the generated config.h, rather the default values ("${CMAKE_INSTALL_PREFIX}/usr/share", "${CMAKE_INSTALL_PREFIX}/usr/lib") are used.

A fix would be to go about setting these values in the same manner as PACKAGE_LOCAL_DIR - e.g. check for a preexisting definition before defining it.

Tags: build cmake
description: updated
Revision history for this message
Roman Hargrave (rchargrave) wrote :
jazzynico (jazzynico)
tags: added: cmake
Changed in inkscape:
status: New → Triaged
importance: Undecided → Low
Changed in inkscape:
milestone: none → 1.0
assignee: nobody → Qantas94Heavy (qantas94heavy)
Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

Hi, would you like to submit this as a merge request on GitLab? It'll be quicker and easier for us to merge in. Here's the repo: https://gitlab.com/inkscape/inkscape

If not, we can still merge in your patch for you, so if you could let us know that'd be great. Thank you!

Changed in inkscape:
status: Triaged → In Progress
Changed in inkscape:
status: In Progress → Fix Committed
milestone: 1.0 → none
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.