remove WOOFDATADIR macro (#1958)

Unused for its original purpose
This commit is contained in:
Fabian Greffrath 2024-10-11 12:35:11 +02:00 committed by GitHub
parent 2e5de098dd
commit 010bc54e79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 10 deletions

View File

@ -44,10 +44,6 @@ set(WOOF_ICON "woof.ico")
set(SETUP_ICON "setup.ico")
set(PROJECT_VERSION_RC "${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},${PROJECT_VERSION_PATCH},0") # ${PROJECT_VERSION_TWEAK}
if(NOT WIN32)
set(WOOFDATADIR "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_SHORTNAME}" CACHE PATH "Path to install supplemental files")
endif()
# Toggle-able defines added at compile-time.
option(WOOF_RANGECHECK "Enable bounds-checking of performance-sensitive functions" ON)
option(WOOF_STRICT "Prefer original MBF code paths over demo compatiblity with PrBoom+" OFF)

View File

@ -13,4 +13,3 @@
#cmakedefine HAVE_LIBXMP
#cmakedefine HAVE_SNDFILE_MPEG
#cmakedefine HAVE_AL_BUFFER_CALLBACK
#cmakedefine WOOFDATADIR "@WOOFDATADIR@"

View File

@ -606,11 +606,6 @@ void BuildIWADDirList(void)
AddIWADDir(env);
}
#if defined(WOOFDATADIR)
// [FG] Add a build-time configurable data directory
AddIWADDir(WOOFDATADIR);
#endif
#ifdef _WIN32
// Search the registry and find where IWADs have been installed.