aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-09-02 00:07:36 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-09-02 00:07:36 +0200
commita26488497cc765890dd5dff122a1f08ca6c5ca95 (patch)
tree43b54bcae1f509e4c84aadf99cc61a4d6b42dcbe /c
parent2c9fa6ec14966321ab04da35d587eb99612f0cd8 (diff)
downloadEpisodeBrowser-a26488497cc765890dd5dff122a1f08ca6c5ca95.tar.gz
Improve build system.
Diffstat (limited to 'c')
-rw-r--r--c/CMakeLists.txt2
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)