Merge pull request #3990 from AenBleidd/fix_build

Fix build after libexpat update on vcpkg
This commit is contained in:
David Anderson 2020-08-28 00:29:16 -07:00 committed by GitHub
commit 82e2e492af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -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