Skip to content

Commit bd05498

Browse files
committed
CMake: only test GDB printers with GCC
1 parent 8b1d4b2 commit bd05498

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ target_compile_definitions(boost_json-intrusive-macro-tests PRIVATE
7979
add_test(NAME boost_json-intrusive-macro-tests COMMAND boost_json-intrusive-macro-tests)
8080
add_dependencies(tests boost_json-intrusive-macro-tests)
8181

82-
if(BoostPrettyPrinters_HAS_GDB)
82+
if(BoostPrettyPrinters_HAS_GDB AND (CMAKE_CXX_COMPILER_ID STREQUAL "GNU"))
8383
boost_pretty_printers_test_gdb_printers(
8484
TEST boost_json_test_gdb_printers
8585
SOURCES printers.cpp

0 commit comments

Comments
 (0)