Skip to content

Commit f6fd4e4

Browse files
codeinredalandefreitas
authored andcommitted
Fix spurious toolchain warning
1 parent 03c7fe9 commit f6fd4e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Matplot++Config.cmake.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set(MATPLOT_BUILT_CXX_COMPILER_ID "@CMAKE_CXX_COMPILER_ID@")
66
set(MATPLOT_BUILT_CXX_COMPILER_VERSION "@CMAKE_CXX_COMPILER_VERSION@")
77

88
# Check if it matches the current toolchain
9-
if (NOT CMAKE_CXX_COMPILER_VERSION STREQUAL MATPLOT_BUILT_CXX_COMPILER_ID)
9+
if (NOT CMAKE_CXX_COMPILER_ID STREQUAL MATPLOT_BUILT_CXX_COMPILER_ID)
1010
message(WARNING "This installation of Matplot++ was built with ${MATPLOT_BUILT_CXX_COMPILER_ID}.")
1111
endif()
1212

0 commit comments

Comments
 (0)