CMake: Restore wx-config variables
This was erroneously removed in ad75a77bc6 (CMake: Cleanup the
wx_configure_script macro, 2021-10-27).
Fixes #22806.
See #22809.
This commit is contained in:
parent
dd50c77a88
commit
49b62441b5
1 changed files with 4 additions and 0 deletions
|
|
@ -12,6 +12,10 @@ file(MAKE_DIRECTORY ${wxCONFIG_DIR})
|
|||
set(TOOLCHAIN_FULLNAME ${wxBUILD_FILE_ID})
|
||||
|
||||
macro(wx_configure_script input output)
|
||||
# variables used in wx-config-inplace.in
|
||||
set(abs_top_srcdir ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
set(abs_top_builddir ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
configure_file(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${input}
|
||||
${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${output}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue