From 147c0640a3faae5e382c0d319c15112c92e06098 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Thu, 29 Jun 2023 06:53:02 +0000 Subject: [libc] Set include directories for the str_to_float test This test uses libc headers and need to explicitly include them. Differential Revision: https://reviews.llvm.org/D154277 --- libc/test/src/__support/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libc') diff --git a/libc/test/src/__support/CMakeLists.txt b/libc/test/src/__support/CMakeLists.txt index 5eabf93..c5de8f5 100644 --- a/libc/test/src/__support/CMakeLists.txt +++ b/libc/test/src/__support/CMakeLists.txt @@ -105,6 +105,12 @@ add_executable( str_to_float_comparison_test.cpp ) +target_include_directories( + libc_str_to_float_comparison_test + PRIVATE + ${LIBC_INCLUDE_DIR} +) + target_link_libraries(libc_str_to_float_comparison_test PRIVATE "${LIBC_TARGET}" -- cgit v1.1