Skip to content

Commit

Permalink
chore: fix test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Feb 12, 2023
1 parent cea3103 commit b7aeab6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/es6/prototype-napi/CMakeLists.txt
Expand Up @@ -4,7 +4,7 @@ cmake_policy(SET CMP0042 NEW)

project (addon_napi)

if (("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") OR ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU"))
if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") OR ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU"))
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
endif()

Expand Down
2 changes: 1 addition & 1 deletion tests/es6/prototype/CMakeLists.txt
Expand Up @@ -4,7 +4,7 @@ cmake_policy(SET CMP0042 NEW)

project (addon)

if (("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") OR ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU"))
if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") OR ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU"))
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
endif()

Expand Down
2 changes: 1 addition & 1 deletion tests/es6/prototype2/CMakeLists.txt
Expand Up @@ -4,7 +4,7 @@ cmake_policy(SET CMP0042 NEW)

project (addon2)

if (("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") OR ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU"))
if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") OR ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU"))
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
endif()

Expand Down

0 comments on commit b7aeab6

Please sign in to comment.