diff options
Diffstat (limited to 'c/CMakeLists.txt')
-rw-r--r-- | c/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/CMakeLists.txt b/c/CMakeLists.txt index da411b2..d8c3ce5 100644 --- a/c/CMakeLists.txt +++ b/c/CMakeLists.txt @@ -44,7 +44,7 @@ if (CMAKE_GENERATOR MATCHES "Visual Studio") set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /MANIFEST:NO") target_compile_options(EpisodeBrowser PRIVATE /wd26451 /wd6385) target_include_directories(EpisodeBrowser PUBLIC ${MSVC_EXT_INCLUDE_DIR}) - find_library(LIBXML2 libxml2 HINTS ${MSVC_EXT_LINK_DIR}) + find_library(LIBXML2 libxml2 HINTS ${MSVC_EXT_LINK_DIR}/${CMAKE_GENERATOR_PLATFORM}) target_link_libraries(EpisodeBrowser comctl32 wininet ${LIBXML2}) else() target_include_directories(EpisodeBrowser PUBLIC C:/msys64/mingw64/include/libxml2) |