Skip to content

Commit

Permalink
Disable TRY macro tests on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher authored and tylerjw committed Feb 15, 2024
1 parent a6803dc commit d55da72
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ add_executable(test-rsl
random.cpp
static_string.cpp
static_vector.cpp
strong_type.cpp
try.cpp)
strong_type.cpp)
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
target_sources(test-rsl PRIVATE try.cpp) # Requires GCC extensions
endif()
target_link_libraries(test-rsl PRIVATE
rsl::rsl
Catch2::Catch2WithMain
Expand Down

0 comments on commit d55da72

Please sign in to comment.