Changeset View
Changeset View
Standalone View
Standalone View
kde-modules/KDEInstallDirs.cmake
Show First 20 Lines • Show All 128 Lines • ▼ Show 20 Line(s) | |||||
129 | # ``AUTOSTARTDIR`` | 129 | # ``AUTOSTARTDIR`` | ||
130 | # autostart files (``CONFDIR/autostart``) [``AUTOSTART_INSTALL_DIR``] | 130 | # autostart files (``CONFDIR/autostart``) [``AUTOSTART_INSTALL_DIR``] | ||
131 | # ``LOGGINGCATEGORIESDIR`` | 131 | # ``LOGGINGCATEGORIESDIR`` | ||
132 | # Qt logging categories files directory (``DATAROOTDIR/qlogging-categories5``) Since 5.59.0 | 132 | # Qt logging categories files directory (``DATAROOTDIR/qlogging-categories5``) Since 5.59.0 | ||
133 | # ``JARDIR`` | 133 | # ``JARDIR`` | ||
134 | # Java AAR/JAR files for Android. Since 5.62.0 | 134 | # Java AAR/JAR files for Android. Since 5.62.0 | ||
135 | # ``SYSTEMDUNITDIR`` | 135 | # ``SYSTEMDUNITDIR`` | ||
136 | # Systemd Units (``lib/systemd``) | 136 | # Systemd Units (``lib/systemd``) | ||
137 | # [``SYSTEMD_UNIT_INSTALL_DIR``]. Since 5.65 | 137 | # [``SYSTEMD_UNIT_INSTALL_DIR``]. Since 5.65 | ||
138 | # ``SYSTEMDUSERUNITDIR`` | 138 | # ``SYSTEMDUSERUNITDIR`` | ||
139 | # Systemd User Units (``lib/systemd/user``) | 139 | # Systemd User Units (``lib/systemd/user``) | ||
140 | # [``SYSTEMD_USER_UNIT_INSTALL_DIR``]. Since 5.65 | 140 | # [``SYSTEMD_USER_UNIT_INSTALL_DIR``]. Since 5.65 | ||
krop: These fixme also need to be...fixed :) | |||||
141 | # | 141 | # | ||
142 | # If ``KDE_INSTALL_USE_QT_SYS_PATHS`` is set to TRUE before including this | 142 | # If ``KDE_INSTALL_USE_QT_SYS_PATHS`` is set to TRUE before including this | ||
143 | # module, the default values for some variables are instead queried from | 143 | # module, the default values for some variables are instead queried from | ||
144 | # Qt5's qmake (where mentioned in the parentheses above). | 144 | # Qt5's qmake (where mentioned in the parentheses above). | ||
145 | # If not set, it will default to TRUE if Qt5's qmake is found and | 145 | # If not set, it will default to TRUE if Qt5's qmake is found and | ||
146 | # it's ``QT_INSTALL_PREFIX`` is the same as ``CMAKE_INSTALL_PREFIX``, | 146 | # it's ``QT_INSTALL_PREFIX`` is the same as ``CMAKE_INSTALL_PREFIX``, | ||
147 | # otherwise default to FALSE. | 147 | # otherwise default to FALSE. | ||
148 | # This variable should NOT be set from within CMakeLists.txt files, instead | 148 | # This variable should NOT be set from within CMakeLists.txt files, instead | ||
▲ Show 20 Lines • Show All 88 Lines • ▼ Show 20 Line(s) | |||||
237 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 237 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
238 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 238 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
239 | 239 | | |||
240 | # Figure out what the default install directory for libraries should be. | 240 | # Figure out what the default install directory for libraries should be. | ||
241 | # This is based on the logic in GNUInstallDirs, but simplified (the | 241 | # This is based on the logic in GNUInstallDirs, but simplified (the | ||
242 | # GNUInstallDirs code deals with re-configuring, but that is dealt with | 242 | # GNUInstallDirs code deals with re-configuring, but that is dealt with | ||
243 | # by the _define_* macros in this module). | 243 | # by the _define_* macros in this module). | ||
244 | set(_LIBDIR_DEFAULT "lib") | 244 | set(_LIBDIR_DEFAULT "lib") | ||
245 | # Override this default 'lib' with 'lib64' iff: | 245 | # Override this default 'lib' with 'lib64' if: | ||
fvogt: IMO the `iff` here can stay | |||||
246 | # - we are on a Linux, kFreeBSD or Hurd system but NOT cross-compiling | 246 | # - we are on a Linux, kFreeBSD or Hurd system but NOT cross-compiling | ||
247 | # - we are NOT on debian | 247 | # - we are NOT on debian | ||
248 | # - we are NOT on flatpak | 248 | # - we are NOT on flatpak | ||
249 | # - we are on a 64 bits system | 249 | # - we are on a 64 bits system | ||
250 | # reason is: amd64 ABI: http://www.x86-64.org/documentation/abi.pdf | 250 | # reason is: amd64 ABI: http://www.x86-64.org/documentation/abi.pdf | ||
251 | # For Debian with multiarch, use 'lib/${CMAKE_LIBRARY_ARCHITECTURE}' if | 251 | # For Debian with multiarch, use 'lib/${CMAKE_LIBRARY_ARCHITECTURE}' if | ||
252 | # CMAKE_LIBRARY_ARCHITECTURE is set (which contains e.g. "i386-linux-gnu" | 252 | # CMAKE_LIBRARY_ARCHITECTURE is set (which contains e.g. "i386-linux-gnu" | ||
253 | # See https://wiki.debian.org/Multiarch | 253 | # See https://wiki.debian.org/Multiarch | ||
▲ Show 20 Lines • Show All 487 Lines • Show Last 20 Lines |
These fixme also need to be...fixed :)