1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-03-10 12:28:51 +00:00

Run the 'mkvdate' script relative to CMAKE_CURRENT_SOURCE_DIR

This fixes the limitation that the build directory has to be in the
source tree and can instead be located anywhere.
This commit is contained in:
Krister Joas
2022-08-29 18:18:38 +09:00
parent 51fffe5827
commit 0c505f9576

View File

@@ -377,7 +377,7 @@ SET(MAIKO_HDRS
)
ADD_CUSTOM_TARGET(gen-vdate
COMMAND ../bin/mkvdate > vdate.c
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/bin/mkvdate > vdate.c
BYPRODUCTS vdate.c
)