aboutsummaryrefslogtreecommitdiff
path: root/libs/kstd/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libs/kstd/CMakeLists.txt')
-rw-r--r--libs/kstd/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/kstd/CMakeLists.txt b/libs/kstd/CMakeLists.txt
index d7af1952..c6e02223 100644
--- a/libs/kstd/CMakeLists.txt
+++ b/libs/kstd/CMakeLists.txt
@@ -84,7 +84,7 @@ if(BUILD_TESTING)
teachos_add_tests("kstd")
target_compile_options("kstd_tests" PRIVATE
- "SHELL:-include ${CMAKE_CURRENT_SOURCE_DIR}/kstd/test_support/string_makers.hpp"
+ "$<$<CXX_COMPILER_ID:Clang,GNU>:SHELL:-include ${CMAKE_CURRENT_SOURCE_DIR}/kstd/test_support/string_makers.hpp>"
)
if(COMMAND "enable_coverage" AND KSTD_ENABLE_TEST_COVERAGE)