Skip to content

Commit

Permalink
Prepare for DKCODER_{BASE,EXT}_SITELIB split (3/n)
Browse files Browse the repository at this point in the history
+ Use value of DKCODER_BASE_SITELIB_NATIVE even when
  running earlier versions. That is what makes the change
  backwards-compatible.
  • Loading branch information
Jonah Beckford committed Nov 14, 2024
1 parent fe3ba94 commit f017d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __dk.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit f017d84

Please sign in to comment.