From 266ee80145125e607afa1201e1bd4f66e410c25c Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Fri, 28 Aug 2020 09:11:01 +0200 Subject: [PATCH] Fix build after libexpat update on vcpkg Signed-off-by: Vitalii Koshura --- 3rdParty/vcpkg_ports/ports/rappture/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/3rdParty/vcpkg_ports/ports/rappture/CMakeLists.txt b/3rdParty/vcpkg_ports/ports/rappture/CMakeLists.txt index 56379cd6d0..06000ec318 100644 --- a/3rdParty/vcpkg_ports/ports/rappture/CMakeLists.txt +++ b/3rdParty/vcpkg_ports/ports/rappture/CMakeLists.txt @@ -93,11 +93,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/core/) find_package(expat CONFIG REQUIRED) -if(WIN32 AND NOT MINGW) - target_link_libraries(rappture PRIVATE expat::libexpat) -else() - target_link_libraries(rappture PRIVATE expat::expat) -endif() +target_link_libraries(rappture PRIVATE expat::expat) install(TARGETS rappture RUNTIME DESTINATION bin