Skip to content

Commit 7db2379

Browse files
authored
Merge pull request #6388 from luotao1/gcc_version
message cxx compiler version
2 parents 113c026 + 34b9294 commit 7db2379

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 -g -DNDEBUG")
2222
include(system)
2323

2424
project(paddle CXX C Go)
25+
message(STATUS "CXX compiler: " ${CMAKE_CXX_COMPILER} ", version: " ${CMAKE_CXX_COMPILER_VERSION})
26+
message(STATUS "C compiler: " ${CMAKE_C_COMPILER} ", version: " ${CMAKE_C_COMPILER_VERSION})
2527

2628
find_package(Sphinx)
2729
if(NOT CMAKE_CROSSCOMPILING)

0 commit comments

Comments
 (0)