diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 888e6dd..c02212a 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -13,7 +13,7 @@ ENDIF () target_include_directories(examples PRIVATE ${LIBXML2_INCLUDE_DIR}) IF (WIN32) - target_link_libraries(examples PRIVATE libcpp-html-to-md ${LIBXML2_LIBRARIES}) -ELSE () target_link_libraries(examples PRIVATE libcpp-html-to-md ${LIBXML2_LIBRARIES} Iconv::Iconv) +ELSE () + target_link_libraries(examples PRIVATE libcpp-html-to-md ${LIBXML2_LIBRARIES}) ENDIF () \ No newline at end of file diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 2d1f80e..a30c67c 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -14,8 +14,8 @@ add_executable(test test.cpp) target_include_directories(test PRIVATE ${LIBXML2_INCLUDE_DIR}) IF (WIN32) - target_link_libraries(test PRIVATE libcpp-html-to-md ${LIBXML2_LIBRARIES} GTest::gtest GTest::gtest_main) -ELSE () target_link_libraries(test PRIVATE libcpp-html-to-md ${LIBXML2_LIBRARIES} GTest::gtest GTest::gtest_main Iconv::Iconv) +ELSE () + target_link_libraries(test PRIVATE libcpp-html-to-md ${LIBXML2_LIBRARIES} GTest::gtest GTest::gtest_main) ENDIF ()