Skip to content

Commit

Permalink
[cmake] In TRIQSConfig.cmake print compilers in case of compiler mism…
Browse files Browse the repository at this point in the history
…atch
  • Loading branch information
Wentzell committed Sep 24, 2019
1 parent de65c9f commit 777a681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/TRIQSConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ MESSAGE(STATUS "Found TRIQSConfig.cmake with version ${TRIQS_VERSION}, hash = ${

# Check compiler
if(NOT CMAKE_CXX_COMPILER STREQUAL TRIQS_CXX_COMPILER)
message(FATAL_ERROR "For your own safety, you should use the same compiler as the one used to compile TRIQS !")
message(FATAL_ERROR "For your own safety, you should use the same compiler as the one used to compile TRIQS!\n -- CMAKE_CXX_COMPILER: ${CMAKE_CXX_COMPILER}\n -- TRIQS_CXX_COMPILER: ${TRIQS_CXX_COMPILER}")
endif()

# Documentation
Expand Down

0 comments on commit 777a681

Please sign in to comment.