Skip to content

Commit

Permalink
Only update PKGCONF_REQ_PRIV if on Windows (#3330)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Jul 6, 2022
1 parent 12fde68 commit b2518cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tiledb/CMakeLists.txt
Expand Up @@ -1097,8 +1097,10 @@ set(ver_patch ${CMAKE_MATCH_1})

set(VERSION "${ver_major}.${ver_minor}.${ver_patch}")

set(PKGCONF_REQ_PRIV "libmagic pcre2-8 pcre2-posix")
string(CONCAT PKGCONF_REQ_PRIV ${PKGCONF_REQ_PRIV} " webp imagedec imageenc imageioutil webpdecoder webpdmux webpmux")
if (WIN32)
set(PKGCONF_REQ_PRIV "libmagic pcre2-8 pcre2-posix")
string(CONCAT PKGCONF_REQ_PRIV ${PKGCONF_REQ_PRIV} " webp imagedec imageenc imageioutil webpdecoder webpdmux webpmux")
endif()

# PKG Config file
configure_file(
Expand Down

0 comments on commit b2518cf

Please sign in to comment.