diff options
| author | Juan Linietsky | 2016-06-09 21:20:49 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-06-09 21:20:49 -0300 |
| commit | d02261fc844b54ee5a1aa96ef675ee3b3c672744 (patch) | |
| tree | f4c4e2deb69eb67a06de205f243783d233c9131e /tools/editor/project_manager.cpp | |
| parent | a3890594fa2798ef31d92e4195c84b7246860929 (diff) | |
| download | godot-d02261fc844b54ee5a1aa96ef675ee3b3c672744.tar.gz godot-d02261fc844b54ee5a1aa96ef675ee3b3c672744.tar.zst godot-d02261fc844b54ee5a1aa96ef675ee3b3c672744.zip | |
Disable asset library compilation if no openssl exists
Diffstat (limited to '')
| -rw-r--r-- | tools/editor/project_manager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/editor/project_manager.cpp b/tools/editor/project_manager.cpp index c00bd0ab3..037b2f3ea 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 ); |
