You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (NOT"${target_extension}"STREQUAL".tex"ANDNOT"${target_extension}"STREQUAL".latex")
189
189
# if (NOT "${target_extension}" STREQUAL ".tex")
190
190
MESSAGE(FATAL_ERROR "Target '${target_name}': Cannot use 'EXPORT_PDF' for target of type '${target_extension}': target type must be '.tex' or '.latex'")
191
-
endif()
192
-
endif()
191
+
endif()
192
+
endif()
193
193
if (${ADD_DOCUMENT_DIRECT_TEX_TO_PDF})
194
194
list(LENGTH${ADD_DOCUMENT_SOURCES} SOURCE_LEN)
195
195
if (SOURCE_LEN GREATER 1)
196
196
MESSAGE(FATAL_ERROR "Target '${target_name}': Only one source can be specified when using the 'DIRECT_TEX_TO_PDF' option")
if (NOT"${source_extension}"STREQUAL".tex"ANDNOT"${source_extension}"STREQUAL".latex")
202
202
MESSAGE(FATAL_ERROR "Target '${target_name}': Cannot use 'DIRECT_TEX_TO_PDF' for source of type '${source_extension}': source type must be '.tex' or '.latex'")
203
-
endif()
203
+
endif()
204
204
SET(check_target ${source_stemname}.pdf)
205
205
IF (NOT${check_target}STREQUAL${target_name})
206
206
MESSAGE(FATAL_ERROR "Target '${target_name}': Must use target name of '${check_target}' if using 'DIRECT_TEX_TO_PDF'")
207
-
endif()
208
-
endif()
207
+
endif()
208
+
endif()
209
209
210
210
## set up output directory
211
211
if ("${ADD_DOCUMENT_PRODUCT_DIRECTORY}"STREQUAL"")
0 commit comments