diff options
author | John Ankarström <john@ankarstrom.se> | 2022-09-02 00:07:36 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-09-02 00:07:36 +0200 |
commit | a26488497cc765890dd5dff122a1f08ca6c5ca95 (patch) | |
tree | 43b54bcae1f509e4c84aadf99cc61a4d6b42dcbe /c | |
parent | 2c9fa6ec14966321ab04da35d587eb99612f0cd8 (diff) | |
download | EpisodeBrowser-a26488497cc765890dd5dff122a1f08ca6c5ca95.tar.gz |
Improve build system.
Diffstat (limited to 'c')
-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) |