Skip to content

Commit

Permalink
Merge pull request #503 from alyssais/pkg_config_path
Browse files Browse the repository at this point in the history
Fix non-default PKG_CONFIG_PATH on macOS by @alyssais
  • Loading branch information
GPaulovics authored Apr 15, 2019
2 parents b838abc + 685bccc commit d1eba80
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 @@ -37,7 +37,7 @@ if((APPLE) AND (NOT DEFINED OPENSSL_ROOT_DIR))
endif()

if((APPLE))
set(ENV{PKG_CONFIG_PATH} "/usr/local/opt/curl/lib/pkgconfig")
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/curl/lib/pkgconfig")
endif()

find_package(LibXml2 REQUIRED)
Expand Down

0 comments on commit d1eba80

Please sign in to comment.