Skip to content

Commit

Permalink
test: fix MSVC builds by not requiring pkgconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
gianni-rosato committed Sep 27, 2024
1 parent a60941b commit 8d1288d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/App/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ cmake_minimum_required(VERSION 3.5...3.28)

# Include Subdirectories
include_directories(${PROJECT_SOURCE_DIR}/Source/API/)
find_package(PkgConfig REQUIRED)
find_package(PkgConfig)
if(NOT PkgConfig_FOUND)
message(WARNING "PkgConfig not found; disabled building with dovi & hdr10plus.")
endif()

# libdovi detection & preprocessor macro
option(LIBDOVI_FOUND "Use the dovi library" OFF)
Expand Down

0 comments on commit 8d1288d

Please sign in to comment.