Skip to content

Commit 61f09fb

Browse files
committed
Fixing syntax.
1 parent e16353a commit 61f09fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/installation_tests/find/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ project(test_simdjson_install VERSION 0.1.0 LANGUAGES CXX)
55
set(CMAKE_CXX_STANDARD 17)
66
set(CMAKE_CXX_STANDARD_REQUIRED ON)
77

8-
find_package(fast_float REQUIRED)
8+
find_package(FastFloat REQUIRED)
99

1010

1111

@@ -17,12 +17,12 @@ int main() {
1717
const std::string input = \"3.1416 xyz \";
1818
double result;
1919
auto answer = fast_float::from_chars(input.data(), input.data()+input.size(), result);
20-
if(answer.ec != std::errc()) { std::cerr << \"parsing failure\n\"; return EXIT_FAILURE; }
20+
if(answer.ec != std::errc()) { std::cerr << \"parsing failure\\n\"; return EXIT_FAILURE; }
2121
std::cout << \"parsed the number \" << result << std::endl;
2222
return EXIT_SUCCESS;
2323
}")
2424

2525

2626

2727
add_executable(repro main.cpp)
28-
target_link_libraries(repro PUBLIC fast_float::fast_float)
28+
target_link_libraries(repro PUBLIC FastFloat::fast_float)

0 commit comments

Comments
 (0)