File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/installation_tests/find Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ project(test_simdjson_install VERSION 0.1.0 LANGUAGES CXX)
5
5
set (CMAKE_CXX_STANDARD 17)
6
6
set (CMAKE_CXX_STANDARD_REQUIRED ON )
7
7
8
- find_package (fast_float REQUIRED)
8
+ find_package (FastFloat REQUIRED)
9
9
10
10
11
11
@@ -17,12 +17,12 @@ int main() {
17
17
const std::string input = \" 3.1416 xyz \" ;
18
18
double result;
19
19
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; }
21
21
std::cout << \" parsed the number \" << result << std::endl;
22
22
return EXIT_SUCCESS;
23
23
}" )
24
24
25
25
26
26
27
27
add_executable (repro main.cpp)
28
- target_link_libraries (repro PUBLIC fast_float ::fast_float)
28
+ target_link_libraries (repro PUBLIC FastFloat ::fast_float)
You can’t perform that action at this time.
0 commit comments