Skip to content

Commit

Permalink
allow USE_HOST_LIBCHDR with libretro
Browse files Browse the repository at this point in the history
  • Loading branch information
flyinghead committed Nov 27, 2024
1 parent 974dc2e commit df78a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ if(NOT LIBRETRO)
endif()

find_package(PkgConfig)
if(PKG_CONFIG_FOUND AND USE_HOST_LIBCHDR AND NOT LIBRETRO)
if(PKG_CONFIG_FOUND AND USE_HOST_LIBCHDR)
pkg_check_modules(LIBCHDR IMPORTED_TARGET libchdr)
target_link_libraries(${PROJECT_NAME} PRIVATE PkgConfig::LIBCHDR)
else()
Expand Down

0 comments on commit df78a78

Please sign in to comment.