Skip to content

Commit 8f016a0

Browse files
committed
Fix freebsd link
1 parent 3334164 commit 8f016a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ endif()
6363

6464
add_test(NAME tests COMMAND tests WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
6565
target_link_libraries(tests PRIVATE ${PROJECT_NAME} GTest::gtest_main)
66-
if(APPLE)
66+
if(APPLE OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
6767
target_link_libraries(tests PRIVATE iconv)
6868
endif()
6969

0 commit comments

Comments
 (0)