From f017d845a09a493cf0b46fe35836e254c506f328 Mon Sep 17 00:00:00 2001 From: Jonah Beckford <9566106-jonahbeckford@users.noreply.gitlab.com> Date: Thu, 14 Nov 2024 10:58:15 -0800 Subject: [PATCH] Prepare for DKCODER_{BASE,EXT}_SITELIB split (3/n) + Use value of DKCODER_BASE_SITELIB_NATIVE even when running earlier versions. That is what makes the change backwards-compatible. --- __dk.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__dk.cmake b/__dk.cmake index 1ba2f8b..07a5d15 100644 --- a/__dk.cmake +++ b/__dk.cmake @@ -714,7 +714,7 @@ function(__dkcoder_delegate) __dkcoder_add_environment_set("DKCODER_BASE_SITELIB=${DKCODER_BASE_SITELIB_NATIVE}") __dkcoder_add_environment_set("DKCODER_EXT_SITELIB=${DKCODER_EXT_SITELIB_NATIVE}") elseif(ARG_VERSION VERSION_GREATER 0.4.0.1) - __dkcoder_add_environment_set("DKCODER_SITELIB=${DKCODER_SITELIB_NATIVE}") + __dkcoder_add_environment_set("DKCODER_SITELIB=${DKCODER_BASE_SITELIB_NATIVE}") endif() __dkcoder_add_environment_set("DKCODER_RUN_VERSION=${DKCODER_RUN_VERSION}") __dkcoder_add_environment_set("DKCODER_RUN_ENV_URL_BASE=${__DkRun_Env_URL_BASE}")