Skip to content

Instantly share code, notes, and snippets.

@rphillips
Created June 26, 2015 16:42
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 rphillips/52e2a070212cc0b849f9 to your computer and use it in GitHub Desktop.
Save rphillips/52e2a070212cc0b849f9 to your computer and use it in GitHub Desktop.
diff --git a/Makefile b/Makefile
index ab9413c..0fdcee7 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@ tiny: deps/luv/CMakeLists.txt
# Configure the build with openssl statically included
regular: deps/luv/CMakeLists.txt
- cmake $(CMAKE_FLAGS) $(CPACK_FLAGS) -DWithOpenSSL=ON -DWithSharedOpenSSL=OFF
+ cmake $(CMAKE_FLAGS) $(CPACK_FLAGS) -DWithOpenSSL=ON -DWithSharedOpenSSL=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOPENSSL_LIBRARIES=/usr/local/opt/openssl/lib
package: deps/luv/CMakeLists.txt
cmake --build build -- package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment