Skip to content

Commit ebe1a3c

Browse files
committed
fix: reorder fmt and fmtlog-static linking in CMakeLists.txt
Adjusted the order of `fmt` and `fmtlog-static` in target_link_libraries across multiple example and test CMakeLists.txt files to ensure proper linking. This change places `fmt` after `fmtlog-static`, which may resolve potential dependency or linkage issues.
1 parent 8b81776 commit ebe1a3c

File tree

30 files changed

+30
-30
lines changed

30 files changed

+30
-30
lines changed

examples/example11/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ tomlplusplus::tomlplusplus
2323
sodium
2424
concurrentqueue
2525
nlohmann_json::nlohmann_json
26-
fmt
2726
fmtlog-static
27+
fmt
2828
)
2929

3030
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 23)

examples/example12/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ tomlplusplus::tomlplusplus
2323
sodium
2424
concurrentqueue
2525
nlohmann_json::nlohmann_json
26-
fmt
2726
fmtlog-static
27+
fmt
2828
)
2929

3030
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 23)

examples/example13/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ tomlplusplus::tomlplusplus
2323
sodium
2424
concurrentqueue
2525
nlohmann_json::nlohmann_json
26-
fmt
2726
fmtlog-static
27+
fmt
2828
)
2929

3030
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 23)

examples/example15_empty/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ tomlplusplus::tomlplusplus
2323
sodium
2424
concurrentqueue
2525
nlohmann_json::nlohmann_json
26-
fmt
2726
fmtlog-static
27+
fmt
2828
)
2929

3030
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 23)

examples/example16_empty/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ tomlplusplus::tomlplusplus
2323
sodium
2424
concurrentqueue
2525
nlohmann_json::nlohmann_json
26-
fmt
2726
fmtlog-static
27+
fmt
2828
)
2929

3030
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 23)

examples/example17_empty/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ tomlplusplus::tomlplusplus
2323
sodium
2424
concurrentqueue
2525
nlohmann_json::nlohmann_json
26-
fmt
2726
fmtlog-static
27+
fmt
2828
)
2929

3030
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 23)

examples/example19/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ tomlplusplus::tomlplusplus
2323
sodium
2424
concurrentqueue
2525
nlohmann_json::nlohmann_json
26-
fmt
2726
fmtlog-static
27+
fmt
2828
)
2929

3030
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 23)

examples/example2/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ aos
2121
magic_enum::magic_enum
2222
tomlplusplus::tomlplusplus
2323
sodium
24-
fmt
2524
fmtlog-static
25+
fmt
2626
)
2727

2828
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 23)

examples/example20/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ sodium
2424
concurrentqueue
2525
nlohmann_json::nlohmann_json
2626
simdjson::simdjson
27-
fmt
2827
fmtlog-static
28+
fmt
2929
)
3030

3131
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 23)

examples/example22/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ sodium
2424
concurrentqueue
2525
nlohmann_json::nlohmann_json
2626
simdjson::simdjson
27-
fmt
2827
fmtlog-static
28+
fmt
2929
)
3030

3131
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 23)

0 commit comments

Comments
 (0)