MACRO(CREA_FIND_AND_USE_LIBRARIES)
-
+MESSAGE(ERROR "EED CREAMacrp_FindAndUseLibraries")
set(USE_DEBUG_LIB "" CACHE BOOL "Use Debug Libraries" )
#-----------------------------------------------------------------------------
FIND_PACKAGE(LATEX REQUIRED)
MESSAGE ( STATUS "=======================================")
MESSAGE(STATUS "Looking for latex... - found ${LATEX_COMPILER}")
+ IF (NOT LATEX_COMPILER)
+ MESSAGE(FATAL_ERROR "LATEX_COMPILER NOT FOUND. Example:latex (MacOS:/opt/local/bin/latex)")
+ ENDIF (NOT LATEX_FOUND)
ENDIF (NOT LATEX_COMPILER)
ENDIF(USE_LATEX)