Skip to content

Commit 34b9294

Browse files
committed
add version and path for both CXX and C compiler
1 parent cfe6d69 commit 34b9294

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +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 version:" ${CMAKE_C_COMPILER_VERSION})
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})
2627

2728
find_package(Sphinx)
2829
if(NOT CMAKE_CROSSCOMPILING)

0 commit comments

Comments
 (0)