diff --git a/Code/Mantid/Framework/ScriptRepository/CMakeLists.txt b/Code/Mantid/Framework/ScriptRepository/CMakeLists.txt
index 6552e948fc34fa86929a00edccebfa389f98ee7f..c3714bba98951a10d903bda688c6dbaf9ca5a417 100644
--- a/Code/Mantid/Framework/ScriptRepository/CMakeLists.txt
+++ b/Code/Mantid/Framework/ScriptRepository/CMakeLists.txt
@@ -126,7 +126,7 @@ set_property (TARGET ScriptRepository PROPERTY FOLDER "MantidFramework")
 
 include_directories(inc)
 if ( APPLE )
-  set ( LIBS ${MANTIDLIBS} ${OPENSSL_CRYPTO_LIBRARY} )
+  set ( LIBS ${MANTIDLIBS} ${SSL_LIBRARIES} ${OPENSSL_CRYPTO_LIBRARY} )
 else ()
   set ( LIBS ${MANTIDLIBS} )
 endif()