ENH: fix for location of error log
This commit is contained in:
parent
df3d4cb3c4
commit
612d2f667b
|
@ -50,7 +50,7 @@ MACRO(CHECK_C_SOURCE_COMPILES SOURCE VAR)
|
|||
ELSE(${VAR})
|
||||
MESSAGE(STATUS "Performing Test ${VAR} - Failed")
|
||||
SET(${VAR} "" CACHE INTERNAL "Test ${FUNCTION}")
|
||||
FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeError.log
|
||||
FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
|
||||
"Performing C SOURCE FILE Test ${VAR} failed with the following output:\n"
|
||||
"${OUTPUT}\n"
|
||||
"Source file was:\n${SOURCE}\n")
|
||||
|
|
|
@ -523,7 +523,7 @@ IF (QT4_QMAKE_FOUND)
|
|||
|
||||
IF( NOT QT_QTCORE_LIBRARY_DEBUG AND NOT QT_QTCORE_LIBRARY_RELEASE )
|
||||
IF( NOT Qt4_FIND_QUIETLY AND Qt4_FIND_REQUIRED)
|
||||
MESSAGE( FATAL_ERROR "Could NOT find QtCore. Check CMakeFiles/CMakeError.log for more details.")
|
||||
MESSAGE( FATAL_ERROR "Could NOT find QtCore. Check ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log for more details.")
|
||||
ENDIF( NOT Qt4_FIND_QUIETLY AND Qt4_FIND_REQUIRED)
|
||||
ENDIF( NOT QT_QTCORE_LIBRARY_DEBUG AND NOT QT_QTCORE_LIBRARY_RELEASE )
|
||||
|
||||
|
|
Loading…
Reference in New Issue