speed-dreams-data.cmake.in: Set SD_DATADIR_ABS
Relative paths (typically, `share/games/speed-dreams-2`) should be looked up before absolute paths, since the install prefix for Windows and macOS builds is decided by the end user, and not the build system.
This commit is contained in:
parent
2ca3405753
commit
744677c3a6
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
@PACKAGE_INIT@
|
||||
set_and_check(SD_DATADIR "@PACKAGE_datadir@")
|
||||
set_and_check(SD_DATADIR_ABS "@PACKAGE_datadir@")
|
||||
set(SD_DATADIR "@datadir@")
|
||||
check_required_components(speed-dreams-data)
|
||||
|
|
Loading…
Reference in a new issue