summaryrefslogtreecommitdiff
path: root/tools/editor/project_manager.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-09 21:20:49 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-06-09 21:20:49 -0300
commitd02261fc844b54ee5a1aa96ef675ee3b3c672744 (patch)
treef4c4e2deb69eb67a06de205f243783d233c9131e /tools/editor/project_manager.cpp
parenta3890594fa2798ef31d92e4195c84b7246860929 (diff)
Disable asset library compilation if no openssl exists
Diffstat (limited to 'tools/editor/project_manager.cpp')
-rw-r--r--tools/editor/project_manager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/editor/project_manager.cpp b/tools/editor/project_manager.cpp
index c00bd0ab37..037b2f3eaf 100644
--- a/tools/editor/project_manager.cpp
+++ b/tools/editor/project_manager.cpp
@@ -986,11 +986,15 @@ ProjectManager::ProjectManager() {
tree_vb->add_spacer();
+#ifdef OPENSSL_ENABLED
asset_library = memnew( EditorAssetLibrary(true) );
asset_library->set_name("Templates");
tabs->add_child(asset_library);
+#else
+#warning Asset Library will not compile without SSL
+#endif
CenterContainer *cc = memnew( CenterContainer );
Button * cancel = memnew( Button );