COPYONLY
)
#---------------------------------------------------------------------------
-
+ FILE(TO_NATIVE_PATH ${BUILD_PATH} THE_BUILD_PATH)
+
# Have to run latex twice to get references, toc, etc.
ADD_CUSTOM_COMMAND(
OUTPUT ${BUILD_PATH}/${TEX_FILE}.aux
COMMAND
# latex
- cd ${BUILD_PATH} && ${LATEX_COMPILER}
+ cd ${THE_BUILD_PATH} && ${LATEX_COMPILER}
ARGS
-interaction=batchmode ${BUILD_PATH}/${TEX_FILE} -output-directory=${BUILD_PATH}/
OUTPUT ${BUILD_PATH}/${TEX_FILE}.pdf
COMMAND
# latex
- cd ${BUILD_PATH} && ${LATEX_COMPILER}
+ cd ${THE_BUILD_PATH} && ${LATEX_COMPILER}
ARGS
-interaction=batchmode ${BUILD_PATH}/${TEX_FILE} -output-directory=${BUILD_PATH}/