Skip to content

Commit 48d46aa

Browse files
fix(build): changed library link to public
1 parent 51c24d3 commit 48d46aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ include(FetchContent)
1717
FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz)
1818
FetchContent_MakeAvailable(json)
1919

20-
target_link_libraries(cpp-i18n PRIVATE nlohmann_json::nlohmann_json)
20+
target_link_libraries(cpp-i18n PUBLIC nlohmann_json::nlohmann_json)
2121

2222
# Build tests
2323
if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
2424
if (BUILD_TESTING)
2525
add_subdirectory(tests)
2626
endif()
27-
endif()
27+
endif()

0 commit comments

Comments
 (0)