Skip to content

Commit

Permalink
Move windows zlib x64 to appropriately named directories
Browse files Browse the repository at this point in the history
  • Loading branch information
phunkyfish committed Aug 17, 2024
1 parent 0323cd5 commit b60a6be
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ find_package(QT NAMES Qt6 REQUIRED COMPONENTS ${qtComponents})
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS ${qtComponents})

if(MSVC_TOOLSET_VERSION EQUAL 142)
list(APPEND CMAKE_PREFIX_PATH "windows/msvc2019/zlib")
list(APPEND CMAKE_PREFIX_PATH "windows/msvc2019-x64/zlib")
elseif(MSVC_TOOLSET_VERSION EQUAL 143)
list(APPEND CMAKE_PREFIX_PATH "windows/msvc2022/zlib")
list(APPEND CMAKE_PREFIX_PATH "windows/msvc2022-x64/zlib")
elseif(MINGW)
list(APPEND CMAKE_PREFIX_PATH "windows/mingw64/zlib")
list(APPEND CMAKE_PREFIX_PATH "windows/mingw64-x64/zlib")
endif()
find_package(ZLIB REQUIRED)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b60a6be

Please sign in to comment.