Skip to content

Instantly share code, notes, and snippets.

@zbeekman
Last active July 24, 2017 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zbeekman/7e958baf7f3271083209caaf4b0f9af5 to your computer and use it in GitHub Desktop.
Save zbeekman/7e958baf7f3271083209caaf4b0f9af5 to your computer and use it in GitHub Desktop.
patch for plplot when building w/ Fortran bindings on macOS
:100644 100644 2b46dbe... 0000000... M cmake/modules/pkg-config.cmake
diff --git i/cmake/modules/pkg-config.cmake w/cmake/modules/pkg-config.cmake
index 2b46dbe..7ecc789 100644
--- i/cmake/modules/pkg-config.cmake
+++ w/cmake/modules/pkg-config.cmake
@@ -230,7 +230,7 @@ function(pkg_config_link_flags link_flags_out link_flags_in)
"/System/Library/Frameworks/([^ ]*)\\.framework"
"-framework \\1"
link_flags
- ${link_flags}
+ "${link_flags}"
)
#message("(frameworks) link_flags = ${link_flags}")
endif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment