Skip to content

Commit 9b5c3b2

Browse files
committed
Fix platform detection for third party libraries
1 parent 069b179 commit 9b5c3b2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/third_party/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ set(CMAKE_EXPORT_NO_PACKAGE_REGISTRY true)
2222

2323
add_subdirectory(fmt)
2424
add_subdirectory(glog)
25-
if (MSVC)
25+
if (WIN32)
2626
add_subdirectory(zlib)
27-
endif (MSVC)
27+
endif (WIN32)
2828
add_subdirectory(libdeflate)

src/third_party/ffmpeg/multi/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ elseif (UNIX)
131131
" and library files are present) will invoke the FFmpeg single-version integration. "
132132
"If you do not need the FFmpeg integration, setting USE_FFMPEG=0 will bypass the issue.")
133133
endif()
134-
elseif(MSVC)
134+
elseif(WIN32)
135135
FetchContent_Declare(
136136
f4
137137
URL ${base_url}/ffmpeg_4.4.5_win64.tar.gz

0 commit comments

Comments
 (0)