You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Disable asset library compilation if no openssl exists
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user